Aug 10, 2018

Installing and using virtualenv

virtualenv ("virtual environment") is a tool that creates isolated Python environments. These isolated environments can have their own separate versions of Python packages, which allows you to isolate your projects dependencies from the dependencies of other projects. We recommend that you always use a per- project virtualenv when developing locally with Python.

You will need to install virtualenv globally before you can use it. It doesn't matter if you install it with Python 2 or Python 3:

pip install --upgrade virtualenv