How do I fix 'ImportError: cannot import name IncompleteRead'?
This problem is caused by a mismatch between your pip installation and your requests installation.
As of requests version 2.4.0
requests.compat.IncompleteRead has been removed. Older versions of pip, e.g. from July 2014, still relied on
IncompleteRead. In the current version of pip, the import of
IncompleteRead has been removed.
So the one to blame is either:
- requests, for removing public API too quickly
- Ubuntu for updating pip too slowly
You can solve this issue, by either updating pip via Ubuntu (if there is a newer version) or by installing pip aside from Ubuntu.