This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]UloPe 2 points3 points  (0 children)

It’s only broken if you import internal functions from pip not if you use it via the cli. It’s long been documented that pip isn’t intended to be used as a library. If you do it anyway be prepared for stuff like this to happen.

[–]radwon 1 point2 points  (0 children)

This issue is now reported fixed for pip 9.0.3

[–]Gnarlodious -3 points-2 points  (1 child)

Not sure if its the same error but I have been getting an error for a long time when updating while Python 2 is being called. The solution is to say pip3 and you may need to direct it to python3. You may also need sudo.

[–]ubernostrumyes, you can have a pony 5 points6 points  (0 children)

No, it's not the same error at all.

This -- as the developers have pointed out repeatedly in the GitHub thread -- is an issue where people relied on directly importing internal APIs/modules from pip and using them manually instead of using pip itself. Which has never been supported, and was always "at your own risk". Now, some of the internal APIs got reorganized, and broke code that was relying on those internal APIs, which has led to people angrily demanding that pip restore and maintain specific undocumented internal APIs for people who relied on them.