[PYTHON] pyenv + virtualenv + Anaconda
I was able to install and use it from the article of my predecessor, but after a few months I didn't know how to restore the environment, so it's a memorandum.
Summary of how to create a Python virtual environment with pyenv
That wasn't deactivate
.
** Conclusion **
$ pyenv global system
What was each in the first place?
- pyenv
- You can create an environment (pip install) for each version of python.
- virtualenv
- pyenv extension. You can create a named environment (the same python version as any other environment is acceptable).
You can think of it as a set with ** pyenv-virtualenv **.
- Anaconda
- Same as the above set (but conda install)
The purpose was to make these two virtual environments coexist.
Other virtual environments
- venv
- Python standard features
It looks like - pipenv
- pip + venv.
It seems that many people divide the environment by ** docker **.