-
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
Cannot import main from pip 18.0 #5672
Comments
Please see #5599. |
Thanks. @pradyunsg |
The Ubuntu's |
I couldn't find python-pip in site-packages |
|
Please see #5599, there's a lot of advice presented there. |
Environment: Global Environment
Description
When upgraded from 9.0.3 to 18.0, it starts showing the following error constantly on each use of pip-
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
Expected behavior
This should not be happen.
How to Reproduce
Upgrade pip from version 9 to latest as
pip install --upgrade pip
and you are unable to use any features of pip anymore.
pip install scikit-learn
Output
Following traceback:
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
from pip import main
ImportError: cannot import name main
The text was updated successfully, but these errors were encountered: