How to create a virtual environment in Python (virtualenv)

The standard way to create a virtual environment is the following:

virtualenv name_of_environment

If this doesn’t work, you can also run the virtualenv command like this:

python -m virtualenv name_of_environment

To activate the new environment:

source name_of_environment/bin/activate
Ontwerp een vergelijkbare site met WordPress.com
Aan de slag