-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My pip is broken. _internal module cannot be imported. #5253
Comments
By typing:
the problem disappears. Strange. |
It's a bad idea to |
I had the same problem, so that I applied your strange method: |
This solution worked for me as well, as my error traceback was identical. Thanks for sharing. |
When I try to uninstall pip on fedora it tries to remove 377 packages. I'm sure this wold break whole system |
@PavelNiedoba In my case, I first update pip with pip, then remove |
I had the same problem but I've used the temporary fix mentioned in issue #5240. Soon after that, a new complain popped out, indicating an error in line 11.
I've changed the last line, from
to
and Voila! Problem dismissed. |
I just change the |
sudo python -m pip install -U pip==8.0.1 |
As indicated by @mahxn0, I did:
After this:
And it's working normally now ;) |
hi the brothers excuse me I have a problem with my mac OS, I already have a Python version 2.7 and I installed version 3.6 but I still have the system that puts me 2.7 in my / Library and I do not know what to do I can not even install modules on my IDE |
please help me :'( |
@kouamegerard the problem is the python package manager, the pip is broken. You need to remove and re-install pip, specially not the version 10.0. Try to search on google how to install a pip version (like 9.0) on mac OS, hope this helps. |
@kouamegerard I would suggest you use a homebrew provided Python installation ( |
Strange indeed! I typed "sudo apt remove python3-pip", and then ran pip3, and it has installed all the packages it wasn't able to install before.... |
This solution works with me xD
or
Of course, we can use python3 instead of python ;) |
I hit this inside a Dockerfile (when installing python3.6 and python3-pip). |
I'd suggest looking at #5599 as for the root cause of this issue, and for describing what fixes it. |
#5599 (comment) solved for me
and then do
|
This works for me in Python3 and Ubuntu 18.04. Install pip3:
Upgrade pip3:
|
I solved this by updating pip via Python, like this:
|
I had to use the -H option to sudo for it work. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Maintainer note: Anyone that still gets this issue please see #5599.
Description:
my pip is broken. it cannot update. It also complains error when just type pip.
What I've run:
Also tried
sudo pip
orsudo su; pip
, with same output.The text was updated successfully, but these errors were encountered: