- Install virtual env:
sudo pip install virtualenv
- Create venv:
mkdir venv; virtualenv venv --no-site-packages
- Activate venv:
source venv/bin/activate
or on Windows:venv\Scripts\activate.bat
- When no longer needed, deactivate venv:
deactivate
- Install requirements:
pip install -r requirements.txt
=====