Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlexMuresan opened this issue Jul 10, 2022 · 0 comments

Comments

@AlexMuresan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant