美文网首页
ubuntu16 pip3 升级后的BUG:TypeError:

ubuntu16 pip3 升级后的BUG:TypeError:

作者: 孤泉冷月 | 来源:发表于2019-12-07 09:53 被阅读0次

pip3 升级后会出现TypeError: 'module' object is not callable

Traceback (most recent call last):
  File "/usr/local/bin/pip3", line 11, in <module>
    sys.exit(main())
TypeError: 'module' object is not callable

解决办法:

sudo apt remove python3-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py

相关文章

网友评论

      本文标题:ubuntu16 pip3 升级后的BUG:TypeError:

      本文链接:https://www.haomeiwen.com/subject/fygygctx.html