JuliaPy / Conda.jl

Conda managing Julia binary dependencies
Other
173 stars 57 forks source link

When moving miniconda folder, Conda.jl always refuses to be re-built. #90

Closed denchat closed 6 years ago

denchat commented 7 years ago

Since I moved miniconda to a different folder, I can not build Conda.jl apon external miniconda anymore.
Wiping .julia, .conda, reinstall julia, miniconda all do not help.

This is the error

julia> Pkg.build("Conda")
INFO: Building Conda
====================================================[ ERROR: Conda ]====================================================

LoadError: Miniconda version changed, since last build.
However, a root enviroment already exists at C:/Users/Sand/AppData/Local/Miniconda/envs/conda_jl.
Setting Miniconda version is not supported for existing root enviroments.
To leave Miniconda version as, it is unset the CONDA_JL_VERSION enviroment variable and rebuild.
To change Miniconda version, you must delete the root enviroment and rebuild.
WARNING: deleting the root enviroment will delete all the packages in it.
This will break many Julia packages that have used Conda to install their dependancies.
These will require rebuilding.

while loading C:\Users\Sand\.julia\v0.6\Conda\deps\build.jl, in expression starting on line 19

by "you must delete the root enviroment and rebuild", what am I supposed to do?

isuruf commented 7 years ago

Remove C:\Users\Sand\.julia\v0.6\Conda\deps\usr folder and C:\Users\Sand\.julia\v0.6\Conda\deps\deps.jl

denchat commented 7 years ago

Thanks. More over, unset CONDA_JL_VERSION is also necessary.