Virtualenv
Install the virtualenv package:
python -m pip install --user virtualenv
To create a python virtual environment:
python -m virtualenv env
On Windows, run:
.\env\Scripts\activate
On Linux or MacOS, run:
source ./env/bin/activate
To deactivate the virtual environment:
deactivate