Q:
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in <module>
from pip._internal import main
ImportError: No module named 'pip._internal'
File "/usr/local/bin/pip", line 7, in <module>
from pip._internal import main
ImportError: No module named 'pip._internal'
A:
re:
Apply these three steps:
- Go to
/usr/local/bin
by terminal - Execute
sudo gedit pip
- Change the
from pip._internal import main
intofrom pip import main
.