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

Conda.bin_dir gives wrong directory. #204

Open
jakobnissen opened this issue Jun 23, 2021 · 1 comment
Open

Conda.bin_dir gives wrong directory. #204

jakobnissen opened this issue Jun 23, 2021 · 1 comment

Comments

@jakobnissen
Copy link

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
Copy link
Member

Yes, probably the README should be fixed.

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

2 participants