I upgraded to Ubuntu 16.04 and pip seems to be broken now. I am unable to install any package with it and even running commands such as pip -version or pip install -U pip, give me the same error message:
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2927, in <module>
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2913, in _call_aside
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 637, in _build_master
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 650, in _build_from_requirements
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'pip==1.5.4' distribution was not found and is required by the application
Is there a solution for this bug? How can I fix it?