Я пытаюсь установить pyttsx3 в python, но я получаю повторяющуюся ошибку (ниже). Я уже установил колеса.
Как я могу отладить эту проблему?
error is:-Collecting pyttsx3
Using cached pyttsx3-2.84-py3-none-any.whl (39 kB)
Collecting pyobjc>=2.4
Using cached pyobjc-6.1-py3-none-any.whl (2.9 kB)
Collecting comtypes; "win32" in sys_platform
Using cached comtypes-1.1.7.zip (180 kB)
Collecting pyobjc-framework-DiscRecording==6.1
Using cached pyobjc-framework-DiscRecording-6.1.tar.gz (63 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\Users\choud\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\choud\\AppData\\Local\\Temp\\pip-install-caww08le\\pyobjc-framework-DiscRecording\\setup.py'"'"'; __file__='"'"'C:\\Users\\choud\\AppData\\Local\\Temp\\pip-install-caww08le\\pyobjc-framework-DiscRecording\\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\choud\AppData\Local\Temp\pip-install-caww08le\pyobjc-framework-DiscRecording\pip-egg-info'
cwd: C:\Users\choud\AppData\Local\Temp\pip-install-caww08le\pyobjc-framework-DiscRecording\
Complete output (15 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\choud\AppData\Local\Temp\pip-install-caww08le\pyobjc-framework-DiscRecording\setup.py", line 27, in <module>
Extension(
File "C:\Users\choud\AppData\Local\Temp\pip-install-caww08le\pyobjc-framework-DiscRecording\pyobjc_setup.py", line 408, in Extension
os_level = get_os_level()
File "C:\Users\choud\AppData\Local\Temp\pip-install-caww08le\pyobjc-framework-DiscRecording\pyobjc_setup.py", line 218, in get_os_level
pl = plistlib.readPlist("/System/Library/CoreServices/SystemVersion.plist")
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\plistlib.py", line 99, in readPlist
with _maybe_open(pathOrFile, 'rb') as fp:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\contextlib.py", line 113, in __enter__
return next(self.gen)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\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'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.