Pip freeze vs. pip list

A comparison of outputs reveals differences: Pip’s documentation states but what is “requirements format,” and why does pip list generate a more comprehensive list than pip freeze? Answer When you are using a virtualenv, you can specify a requirements.txt file to install all the dependencies. A typical usage: The packages need to be in a specific format for pip to understand, which is That is the “requirements format”. Here, django==1.4.2 implies install django version 1.4.2 (even though the latest is 1.6.x). If you do not specify ==1.4.2, the latest version available would be installed. You can read more in “Virtualenv

How do I updateupgrade pip itself from inside my virtual environment?

I’m able to update pip-managed packages, but how do I update pip itself? According to pip –version, I currently have pip 1.1 installed in my virtualenv and I want to update to the latest version. …