JuliaPy / Conda.jl

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

Conda.bin_dir gives wrong directory. #204

Open jakobnissen opened 3 years ago

jakobnissen commented 3 years ago

Conda.bin_dir(:uniref) gives "/Users/jakobnissen/miniconda3/envs/uniref/envs/uniref/bin" - note the envs/uniref is duplicated.

This probably comes from the fact that ROOTENV is "/Users/jakobnissen/miniconda3/envs/uniref", and bin_dir is defined by joining prefix with bin, and prefix is defined as joining ROOTENV with envs/uniref.

And I think that ultimately comes from the README.md saying that you can use an existing environment by doing: ENV["CONDA_JL_HOME"] = "/Users/jakobnissen/miniconda3/envs/my_env", when in fact you should be omitting the envs/my_env at the end.

stevengj commented 3 years ago

Yes, probably the README should be fixed.