pip3 -V
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'
于是我们换个方式重新安装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)