Forrest logo
back to the mkvirtualenv tool


virtualenvwrapper: Create a new Python `virtualenv` in `$WORKON_HOME`.
$ mkvirtualenv ${virtualenv_name}
try on your machine

The command mkvirtualenv is a command used in Python virtual environments to create a new virtual environment.

Here, ${virtualenv_name} is a placeholder that represents the name you want to give to your virtual environment. When executing the command, you need to replace ${virtualenv_name} with an actual name.

For example, if you want to create a virtual environment named "myenv", you would run mkvirtualenv myenv. The command creates a new virtual environment with the specified name, and sets it up to be used with the current shell session.

Python virtual environments are isolated environments that allow you to install and manage packages separately from the system-wide Python installation. It is a useful feature when you want to work on different projects with different requirements, without them conflicting with one another.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mkvirtualenv tool