0

为什么我收到此错误

 ERROR: Command errored out with exit status 1:
     command: 'C:\Users\kodal\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kodal\\AppData\\Local\\Temp\\pip-install-odzer82v\\pyobjc-framework-Quartz\\setup.py'"'"'; __file__='"'"'C:\\Users\\kodal\\AppData\\Local\\Temp\\pip-install-odzer82v\\pyobjc-framework-Quartz\\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\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\pip-egg-info'
         cwd: C:\Users\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\setup.py", line 67, in <module>
        py_limited_api=True,
      File "C:\Users\kodal\AppData\Local\Temp\pip-install-odzer82v\pyobjc-framework-Quartz\pyobjc_setup.py", line 420, in Extension
        if "clang" in get_config_var("CC"):
    TypeError: argument of type 'NoneType' is not iterable
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
4

1 回答 1

0

我在这里猜测一下,但是您的回溯表明您在 Windows 上,但是 pyobjc-framework-Quartz 是一个 macOS 框架。同样的命令在我的 macOS 机器上运行良好。

于 2020-07-19T16:31:44.300 回答