今天更新了一下pip,随后出现了这样的错误
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
ImportError: cannot import name 'main'
解决方法
卸载pip并重新安装
sudo python3 -m pip uninstall pip && sudo apt install python3-pip --reinstall
Comments NOTHING