Python virtual environments isolate dependencies per project. Install venv module if needed: sudo apt install python3-venv Create environment: python3 -m venv myenv Activate it: source myenv/bin/activate Your prompt changes indicating environment is active. Install packages: pip install requests List installed packages: pip list Deactivate: deactivate Virtual environments prevent dependency conflicts between projects. Use them always. Disclaimer: If you follow the information here, there is no warranty , I am not liable if it deletes your data, gets you hacked, burns your house down or anything else. If you follow the information contained here you do so entirely at your own risk . My views and opinions are my own and not necessarily represent the views of my employer. © Raheel Hameed and www.raheelhameed.com, 2017. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictl...
A personal blog about my interests and ideas