[ 서버 & DB 관련 ]/리눅스

pip 오류 - No module named _internal.cli.main

BIZLAB 2020. 8. 20. 14:36

pip upgrade 시 오류 (또는 다른 경우)

Traceback (most recent call last):
  File "/core/Linux/APPZ/Python/2.7/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ImportError: No module named _internal.cli.main

 

python -m pip install --upgrade pip

 

 

https://stackoverflow.com/questions/49940813/pip-no-module-named-internal

 

pip: no module named _internal

I have a problem when I try to use pip in any way. I'm using Ubuntu 16.04.4 I should say that I've used it already, and I never had any problem, but starting today when I use any command I always ...

stackoverflow.com