亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何解決pyobjc安裝問題?

如何解決pyobjc安裝問題?

繁星點點滴滴 2023-03-16 09:09:00
pip install pyobjc-framework-QuartzDefaulting to user installation because normal site-packages is not writeableCollecting pyobjc-framework-Quartz  Using cached pyobjc-framework-Quartz-6.2.2.tar.gz (3.4 MB)    ERROR: Command errored out with exit status 1:     command: 'c:\program files\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Charan\\AppData\\Local\\Temp\\pip-install-qnwuu7s1\\pyobjc-framework-Quartz\\setup.py'"'"'; __file__='"'"'C:\\Users\\Charan\\AppData\\Local\\Temp\\pip-install-qnwuu7s1\\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\Charan\AppData\Local\Temp\pip-pip-egg-info-v7jcwbrn'         cwd: C:\Users\Charan\AppData\Local\Temp\pip-install-qnwuu7s1\pyobjc-framework-Quartz\    Complete output (7 lines):    Traceback (most recent call last):      File "<string>", line 1, in <module>      File "C:\Users\Charan\AppData\Local\Temp\pip-install-qnwuu7s1\pyobjc-framework-Quartz\setup.py", line 64, in <module>        Extension(      File "C:\Users\Charan\AppData\Local\Temp\pip-install-qnwuu7s1\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.
查看完整描述

1 回答

?
浮云間

TA貢獻1829條經驗 獲得超4個贊

pyobjc 模塊僅適用于 MAC OSX。 https://pyobjc.readthedocs.io/en/latest/??雌饋砟趪L試在 Windows PC 上安裝。



查看完整回答
反對 回復 2023-03-16
  • 1 回答
  • 0 關注
  • 187 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號