-
-
Notifications
You must be signed in to change notification settings - Fork 421
Conda 4.4.4 breaks pyenv virtual environments #246
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
Comments
Thank you for the temporary workaround. I ran into this issue earlier today when upgrading my miniconda versions. |
More reports for this issue are also present in #178 |
I have the same problem here. |
#290 was recently merged. |
I can now access the conda environment through |
I think the root conda executable serves all environments now. Do your conda environments work with pyenv?
with conda environments? |
Just checked: all of those work. It just surprised me that the |
Can we close this?
|
If |
How to reproduce
pyenv install miniconda3-latest
(the result is actually the same withminiconda3-4.3.3
since conda gets updated to 4.4.4 during the install)pyenv virtualenv miniconda3-latest my-env
After performing the above steps,
pyenv which conda
doesn't listmy-env
as one of the environments that have the executable, it's missing in~/.pyenv/versions/miniconda3-latest/envs/my-env/bin/
and upon the environment's activation withpyenv activate my-env
,conda
command is not available.Workaround
After installing
miniconda3-latest
, downgrade conda to 4.3.30:pyenv activate miniconda3-latest
conda install conda=4.3.30
Just speculating here, but the issue may be caused by https://www.anaconda.com/blog/developer-blog/how-to-get-ready-for-the-release-of-conda-4-4/ in Conda 4.4.4, for example the name of the default environment has been changed from "root" to "base".
The text was updated successfully, but these errors were encountered: