Skip to content

[MacOS] Conda.add("numpy") throwing error because Miniconda is already installed #221

@AlexMuresan

Description

@AlexMuresan

I run the following code in a julia notebook and it works.

using Pkg; Pkg.add("Conda")
using Conda

But when trying to run

Conda.add("numpy")

I get the following error message

┌ Info: Downloading miniconda installer ...
└ @ Conda /Users/alex/.julia/packages/Conda/x2UxR/src/Conda.jl:193
┌ Info: Installing miniconda ... └ @ Conda /Users/alex/.julia/packages/Conda/x2UxR/src/Conda.jl:203ERROR: File or directory already exists: '/Users/alex/miniforge3'
If you want to update an existing installation, use the -u option.
failed process: Process(`/Users/alex/.julia/conda/3/installer.sh -b -f -p /Users/alex/.julia/conda/3`, ProcessExited(1)) [1]

I didn't set CONDA_JL_HOME to anything.
I tried using the conda python path and the regular python path in ENV["PYTHON"] , but I get the same results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions