Private Island Networks Inc.

pip error: "ModuleNotFoundError: No module named 'pip._internal'"

Nov 06, 2018 asked by anonymous
share
subscribe to mailing list:

Question / Issue:

When running "$ sudo -H pip3 install <python package>" we received the following error: Traceback (most recent call last): File "/usr/local/bin/pip3", line 7, in <module> from pip._internal import main ModuleNotFoundError: No module named 'pip._internal'
X-ray Engineering Services

Responses:

Date: Nov. 6, 2018

Author: Mind Chasers

Comment:

A good reference for this issue can be found here: https://github.com/pypa/pip/issues/5373 However, for us it seems it was due to us having a conflict between a local pip3 install and a system installed python3: $ which pip3 /usr/local/bin/pip3 $ which python3 /usr/bin/python3 We removed /usr/local/bin/pip3 and pip3 worked fine (again).

Post your answer or comment:

your email address will be kept private
authenticate with a 3rd party for enhanced features, such as image upload
previous month
next month
Su
Mo
Tu
Wd
Th
Fr
Sa
loading