pyttsx3 installation error
jlaatech at gmail.com
jlaatech at gmail.com
Sat Mar 14 00:59:19 EDT 2020
On Friday, 13 March 2020 23:45:08 UTC+2, MRAB wrote:
> On 2020-03-13 19:52, jlaatech at gmail.com wrote:
> >
> > Got the same error here please help
> > ERROR: Command errored out with exit status 1:
> > command: 'c:\users\jerald lashy jeffery\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Jerald Lashy Jeffery\\AppData\\Local\\Temp\\pip-install-ej949hlq\\pyobjc-framework-AddressBook\\setup.py'"'"'; __file__='"'"'C:\\Users\\Jerald Lashy Jeffery\\AppData\\Local\\Temp\\pip-install-ej949hlq\\pyobjc-framework-AddressBook\\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\Jerald Lashy Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\pip-egg-info'
> > cwd: C:\Users\Jerald Lashy Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\
> > Complete output (15 lines):
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "C:\Users\Jerald Lashy Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\setup.py", line 22, in <module>
> > Extension(
> > File "C:\Users\Jerald Lashy Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\pyobjc_setup.py", line 408, in Extension
> > os_level = get_os_level()
> > File "C:\Users\Jerald Lashy Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\pyobjc_setup.py", line 218, in get_os_level
> > pl = plistlib.readPlist("/System/Library/CoreServices/SystemVersion.plist")
> > File "c:\users\jerald lashy jeffery\appdata\local\programs\python\python38-32\lib\plistlib.py", line 99, in readPlist
> > with _maybe_open(pathOrFile, 'rb') as fp:
> > File "c:\users\jerald lashy jeffery\appdata\local\programs\python\python38-32\lib\contextlib.py", line 113, in __enter__
> > return next(self.gen)
> > File "c:\users\jerald lashy jeffery\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'
> > ----------------------------------------
> > ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
> >
> Did you try to install from PyPI? It appears that you should clone the
> project from GitHub. This might help:
>
> https://medium.com/better-programming/an-introduction-to-pyttsx3-a-text-to-speech-converter-for-python-4a7e1ce825c3
>
> I haven't tried it myself.
Thank you this worked for me.
More information about the Python-list
mailing list