Ubuntu|ython3 :ImportError: cannot import name 'main'
1、问题
root@stephen-K55VD:/usr/bin# pip3
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
ImportError: cannot import name 'main'
2、解决办法
编辑/usr/bin/pip3,修改代码
from pip._internal import main