Virtualenv Vs Venv Vs Conda Vs Pipenv Vs Pyvenv Vs Pyenv

  • venv is built-in in Python3
  • virtualenv supports a super set of venv features (and is the most popular one)
    • virtualenvwrapper extends virtualenv with some additional features
  • pyenv is used to isolate Python versions
    • pyenv-virtualenv is a plugin for pyenv for interop with virtualenv
    • pyenv-virtualenvwrapper is similar
  • conda manages environments in a centralized fashion (where virtualenv & venv manage them per-project)
  • pipenv aims to combine Pipfile, pip and virtualenv into one command on the command-line.
  • Some people think conda and pipenv shouldn’t be used
  • pyvenv is deprecated

Use Virtualenv

Create a virtual environment install to the subdirectory venv

```sh
virtualenv venv

Activate environment

source venv/Scripts/activate