'IncompleteRead' import error in urllib3

678 Views Asked by At

I have recently installed urllib3, and I am getting an error that I can't find anything about online. The line causing the issue is:

from .packages.six.moves.http_client import (IncompleteRead as httplib_IncompleteRead)

This causes:

Import Error: cannot import name 'Incomplete Read'

When I run the exceptions.py file for urllib3 I get the following result:

SystemError: Parent module '' not loaded, cannot perform relative import

What could possibly be the issue here?

0

There are 0 best solutions below