I had the same problem and it was resolved. Here you see that the pip is not working properly (without any additional parameters).
root@notebook :/home/ci# pip Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module> import packaging.requirements File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 9, in <module> from pyparsing import stringStart, stringEnd, originalTextFor, ParseException
So, first we can establish a broken dependency:
wget https://pypi.python.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz gunzip pyparsing-2.2.0.tar.gz tar -xvf pyparsing-2.2.0.tar cd pyparsing-2.2.0 && python setup.py install
After this dependence will be established from sources.
Trying to use pip again:
root@rundeck.euovh01.un.private :/tmp/pyparsing-2.2.0
This is the next problem. And you can fix it faster:
root@notebook :/home/ci
After that, my pip was successfully repaired. Sincerely.
source share