ubuntu,  python,  pip

pip IncompleteRead error after Ubuntu upgrade

After upgrading ubuntu pip started throwing the following error...

pip IncompleteRead error after Ubuntu upgrade

After upgrading ubuntu pip started throwing the following error:

ImportError: cannot import name IncompleteRead

It looks like the problem is caused by system installing old version of pip:

remove pip sudo apt-get purge python-pip

install latest version of pip wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py

reboot the server sudo reboot

Subscribe to The infinite monkey theorem

Get the latest posts delivered right to your inbox