Nomodulenamed pip._internal怎么解决
报错:
root@iZc3hwgbd4qbmwZ:~# pip install oss2
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in <module>
from pip._internal import main
ImportError: No module named 'pip._internal'
解决方法:
重新安装pip
执行下面两条命令:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python2.7 get-pip.py --force-reinstall
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.5 get-pip.py --force-reinstall
http://www.cnblogs.com/heiao10duan/p/9399858.html
卸载python2.7 sudo apt-get remove python-pip