pyenv-virtualenv is a pyenv plugin that provides features to manage virtual environments and conda environments for Python on UNIX-like systems. If you installed pyenv into a non-standard directory, make sure that you clone this repo into the 'plugins' directory of wherever you installed into. macOS users can install pyenv-virtualenv with the Homebrew package manager. This will give you access to the pyenv-virtualenv command. If you have pyenv installed, you will also be able to use the pyenv virtualenv command. There is a venv module available for CPython 3.3 and newer. It provides an executable module venv which is the successor of virtualenv and distributed by default. You can use version like miniconda3-3.9.1/envs/myenv to specify conda environment as a version in pyenv.
Features
- List existing virtualenvs
- Create virtualenv from current version
- Delete existing virtualenv
- You can manage conda environments
- You can set certain environment variables to control pyenv-virtualenv
- You can also activate and deactivate a pyenv virtualenv manually