python -m venv venv
source venv/bin/activate
pip install -U pip
pip install whatever
# <do you stuff here>
deactivate
no need any third-party tools, venv is built-in the above steps always worked for me out of the box. python -m venv venv
source venv/bin/activate
pip install -U pip
pip install whatever
# <do you stuff here>
deactivate
no need any third-party tools, venv is built-in the above steps always worked for me out of the box.[1] https://docs.python.org/3/whatsnew/3.4.html#whatsnew-pep-453