ImportError:从Requirements.txt安装时无法导入名称“ main”

时间:2020-01-11 09:09:56

标签: python

安装packge时出现runpy.py文件错误。请帮助我任何人。

$ pip install -r requirements.txt
Traceback (most recent call last):
  File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python36\Scripts\pip.exe\__main__.py", line 5, in <module>
ImportError: cannot import name 'main'

0 个答案:

没有答案