How to reproduce
pyenv install miniconda3-latest (the result is actually the same with miniconda3-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 list my-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 with pyenv 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
- re-create the affected virtual environments
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".
How to reproduce
pyenv install miniconda3-latest(the result is actually the same withminiconda3-4.3.3since conda gets updated to 4.4.4 during the install)pyenv virtualenv miniconda3-latest my-envAfter performing the above steps,
pyenv which condadoesn't listmy-envas 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,condacommand is not available.Workaround
After installing
miniconda3-latest, downgrade conda to 4.3.30:pyenv activate miniconda3-latestconda install conda=4.3.30Just 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".