从cmd调用pip时出现“ TypeError:'模块'对象不可调用”

时间:2019-12-15 18:26:30

标签: python

每当我在cmd中调用pip命令(升级或安装任何东西)时,我都会收到此错误

Traceback (most recent call last):
  File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python37\Scripts\pip.exe\__main__.py", line 9, in <module>
TypeError: 'module' object is not callable

0 个答案:

没有答案