pip3 -VTraceback (most recent call last): File "/usr/local/bin/pip3", line 7, in <module> from pip._internal import main ModuleNotFoundError: No module named ‘pip._internal‘
于是我们换个方式重新安装pip3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py --force-reinstall
在验证一下
pip3 -V pip 10.0.1 from /usr/local/lib/python3.6/dist-packages/pip (python 3.6)
原文地址:https://www.cnblogs.com/whoamme/p/9120768.html
时间: 2024-10-07 22:29:05