You probably want to work in a virtualenv :
sudo pip3 install --upgrade virtualenv
Or if you prefer you can install virtualenv using your favorite packaging
system. E.g., in Ubuntu:
-
sudo apt-get
update
-
sudo apt-
get
install virtualenv
Then work on the virtual_env:
-
cd
$my_work_dir
-
virtualenv my_env
-
. my_env/bin/activate
Or you can specify the Python Version:
virtualenv --no-site-packages --python=python3.5 my_env
Exit the virtual_env:
deactivate
Delete the virtual_env:
rm -r my_env