ModuleNotFoundError: No module named 'pip._internal.cli.main'
Nov 11, 2020
asked by anonymous
Question / Issue:
Can you help me with this error?
$ pip3 install asgiref
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 6, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'
Responses:
Date: Nov. 11, 2020
Author: Mind Chasers
Comment:
Assuming you're on Linux or a Mac, try putting "sudo" in front of it:
$ sudo -H pip3 install asgiref
You may also want to refer to pip error: "ModuleNotFoundError: No module named 'pip._internal'"