I have the latest version of pip 8.1.1 on my ubuntu 16. But I am not able to install any modules via pip as I get this error all the time.
File \"/usr/local/
After upgrading from 18.0 to 18.1, I got the same error. Reinstalling the program(without using pip itself) worked for me:
$ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py $ sudo python get-pip.py