ERROR: Command errored out with exit status 1:
command: 'c:\users\mayukh\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Mayukh\\AppData\\Local\\Temp\\pip-install-f6rnjn5g\\pyobjc-framework-SecurityInterface\\setup.py'"'"'; __file__='"'"'C:\\Users\\Mayukh\\AppData\\Local\\Temp\\pip-install-f6rnjn5g\\pyobjc-framework-SecurityInterface\\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\Mayukh\AppData\Local\Temp\pip-install-f6rnjn5g\pyobjc-framework-SecurityInterface\pip-egg-info'
cwd: C:\Users\Mayukh\AppData\Local\Temp\pip-install-f6rnjn5g\pyobjc-framework-SecurityInterface\
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Mayukh\AppData\Local\Temp\pip-install-f6rnjn5g\pyobjc-framework-SecurityInterface\setup.py", line 20, in <module>
Extension(
File "C:\Users\Mayukh\AppData\Local\Temp\pip-install-f6rnjn5g\pyobjc-framework-SecurityInterface\pyobjc_setup.py", line 408, in Extension
os_level = get_os_level()
File "C:\Users\Mayukh\AppData\Local\Temp\pip-install-f6rnjn5g\pyobjc-framework-SecurityInterface\pyobjc_setup.py", line 218, in get_os_level
pl = plistlib.readPlist("/System/Library/CoreServices/SystemVersion.plist")
File "c:\users\mayukh\appdata\local\programs\python\python38-32\lib\plistlib.py", line 99, in readPlist
with _maybe_open(pathOrFile, 'rb') as fp:
File "c:\users\mayukh\appdata\local\programs\python\python38-32\lib\contextlib.py", line 113, in __enter__
return next(self.gen)
File "c:\users\mayukh\appdata\local\programs\python\python38-32\lib\plistlib.py", line 82, in _maybe_open
with open(pathOrFile, mode) as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/System/Library/CoreServices/SystemVersion.plist'
----------------------------------------
错误:命令错误,退出状态为1:python setup.py egg_info检查日志以获取完整的命令输出。
答案 0 :(得分:0)
在安装jupyterlab时,我遇到了类似的问题。我认为您正在使用Python3.8.x。尝试:
如果我写的目录结尾不同,请不要慌张,只需更改类似的目录即可。希望我的回答对您有所帮助!
答案 1 :(得分:0)
在Windows10平台上尝试安装几个python3软件包时,我对python 3.7.7有类似的问题。我确实将变量添加到路径中,但仍然无法正常工作,然后尝试了同样无效的修复过程。最后,我不得不卸载并重新安装python 3.7.7 [不是从Windows商店,而是从官方网站]。重新安装后,似乎可以正常工作。