We recommend using virtualenv details for your python development.
-
Ensure virtualenv is installed
pip install virtualenv pip -p python3 virtualenv // for python 3
-
Create a virtualenv for your project
cd $project_home virtualenv venv
-
Activate the environment
source ./venv/bin/activate
-
After you're finished, deactivate the environment by running
deactivate