pyenv-virtualenv:tldr:84d81
The command pyenv virtualenv ${3-6-6} ${virtualenv_name}
creates a virtual environment using the Python version specified by 3-6-6
.
Let's break down the command:
-
pyenv
: This is a command-line tool used for managing multiple versions of Python on a single machine. -
virtualenv
: This is a pyenv command that creates a virtual environment. A virtual environment is an isolated Python environment where you can install specific packages and dependencies without affecting the system-wide Python installation. -
${3-6-6}
: This is a placeholder for the desired Python version. In this case, it represents Python version 3.6.6, and it should be replaced with the actual version number you want to use. -
${virtualenv_name}
: This is another placeholder, which should be replaced with the desired name for the virtual environment. It can be any string you choose to identify the environment.
In summary, the command creates a virtual environment named ${virtualenv_name}
using the Python version 3.6.6
.