Python Virtual Environments Cheat Sheet
08 Jan 2016Virtual environments make using Python a bit more manageable, especially when it comes to deploying Python programs and creating the requirements (able to use pip freeze > requirements.txt
and only use packages necessary to that individual project). However, I commonly find myself forgetting some of the more basic commands. For Python 2 use pip
, for Python 3 use pip3
.