Why is PIP raising an AssertionError on pip freeze?

This worked for me (running Ubuntu, both 12 and 14 LTS):

pip install -U setuptools
pip install -U pip

Upgrade to the latest version of setuptools in order to be able to upgrade to the latest version of pip, and upgrade to the latest version of pip to get a version that has fixed the AssertException error.

Leave a Comment