在Visual Studio Code上安装任何软件包时出现pip安装错误

时间:2019-11-22 04:15:52

标签: pip python-3.7

每次我尝试在Visual Studio代码上安装软件包时,都会出现此回溯错误:

    PS C:\Users\swimm\OneDrive\Desktop\FWA_Bot> pip install discord
    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\pip3.exe\__main__.py", line 9, in <module>
    TypeError: 'module' object is not callable
    PS C:\Users\swimm\OneDrive\Desktop\FWA_Bot>

有人有什么想法吗?我什至无法远程考虑问题所在。

0 个答案:

没有答案