You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pyenv versions
system
* anaconda3-4.4.0 (set by /Users/momota/.pyenv/version)
3: Create local environment
Make a working directory as you like.
$ mkdir -p ~/directory-which-you-like
$ cd $_
Create virtual environment by using anaconda
$ pyenv local anaconda3-4.4.0
$ pyenv rehash
$ conda create -n py3.6 python=3.6 anaconda
-- (snip) --
# To activate this environment, use:# > source activate py3.6## To deactivate this environment, use:# > source deactivate py3.6
Set up local environment using the previous virtual environment.
$ pyenv local anaconda3-4.4.0/envs/py3.6
$ cat .python-version
anaconda3-4.4.0/envs/py3.6
Activate your virtual environment.
$ source$PYENV_ROOT/versions/anaconda3-4.4.0/bin/activate py3.6
# If you want to deactive this environment, execute as below
$ source$PYENV_ROOT/versions/anaconda3-4.4.0/bin/deactivate