robau
Posts: 1
Joined: Sun Jan 03, 2016 4:44 pm

ImportError: cannont import name 'IncompleteRead'

Sun Jan 03, 2016 4:47 pm

Every time I'm trying to install something via pip3

eg. sudo pip3 install urllib2

I get this error:
ImportError: cannont import name 'IncompleteRead'

I tried reinstalling pip/pip3, removed/installed Python3, nothing seems to do the trick. Anyone?
Image

enedil
Posts: 80
Joined: Sat Feb 21, 2015 4:22 pm
Location: Toruń, Poland
Contact: Website

Re: ImportError: cannont import name 'IncompleteRead'

Sun Jan 03, 2016 6:25 pm

Try

Code: Select all

sudo apt-get remove python3-pip
easy_install-3.5 pip
If there's no "easy_install-3.5", use that which matches your Python version.
- What Can a Thoughtful Man Hope for Mankind on Earth, Given the Experience of the Past Million Years?
- Nothing.

Kurt Vonnegut, Cat's Cradle

Return to “Python”