I\'m deploying a Django app to a dev server and am hitting this error when I run pip install -r requirements.txt:
pip install -r requirements.txt
Traceback (most recent call la
sudo apt-get install --reinstall python-pkg-resources
fixed it for me in Debian. Seems like uninstalling some .deb packages (twisted set in my case) has broken the path python uses to find packages