Traceback (most recent call last):
File "/usr/bin/pip", line 11, in <module>
sys.exit(main())
TypeError: 'module' object is not callable
请注意,此错误在pip版本19.1.1中不存在。
我正在用uname -a运行Debian破坏者: Linux *** 4.19.0-6-amd64#1 SMP Debian 4.19.67-2 + deb10u2(2019-11-11)x86_64 GNU / Linux
和我的python版本:
Python 2.7.16
Python 3.7.3
预先感谢您的帮助。
答案 0 :(得分:0)
尝试以root用户登录pip3 install --upgrade pip
。
pip
版本实际上是20.0.2。
之后,重试您的命令。
杰夫