一、使用pip出现:
Traceback (most recent call last):
File “/usr/bin/pip3”, line 9, in
from pip import main
ImportError: cannot import name ‘main’
二、解决方法:输入以下命令重新安装pip。
sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall
转载至:
https://blog.csdn.net/chenzhenchou/article/details/80161485