There are times when you want to open a Jupyter notebook or open a conda in a specific directory. If you are based on conda installed with pyenv, you can conveniently support conda env with pyenv-vertualenv!
When there is such a setting
$ conda env list ✭ ◼
# conda environments:
#
analysis * /Users/chezou/.pyenv/versions/anaconda3-2.1.0/envs/analysis
root /Users/chezou/.pyenv/versions/anaconda3-2.1.0
If you set it with this, you can go
$ pyenv local anaconda3-2.1.0/envs/env-name
Convenient
Recommended Posts