命令错误,退出状态为1:python setup.py egg_info WINDOWS

时间:2020-05-21 18:54:42

标签: python flask web-applications fullcalendar

尝试在Flask中安装FullCalendar时出现此错误:

ERROR: Command errored out with exit status 1:
     command: 'c:\users\omar\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Omar\\AppData\\Local\\Temp\\pip-install-ybeluoli\\wsgiref\\setup.py'"'"'; __file__='"'"'C:\\Users\\Omar\\AppData\\Local\\Temp\\pip-install-ybeluoli\\wsgiref\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Omar\AppData\Local\Temp\pip-pip-egg-info-a1u9m2q1'
         cwd: C:\Users\Omar\AppData\Local\Temp\pip-install-ybeluoli\wsgiref\
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Omar\AppData\Local\Temp\pip-install-ybeluoli\wsgiref\setup.py", line 5, in <module>
        import ez_setup
      File "C:\Users\Omar\AppData\Local\Temp\pip-install-ybeluoli\wsgiref\ez_setup\__init__.py", line 170
        print "Setuptools version",version,"or greater has been installed."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

0 个答案:

没有答案