Re: pyttsx3 installation error

2020-03-13 Thread jlaatech


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 "", line 1, in 
  File "C:\Users\Jerald Lashy 
Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\setup.py",
 line 22, in 
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.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pyttsx3 installation error

2020-03-13 Thread jlaatech
On Friday, 13 March 2020 23:45:08 UTC+2, MRAB  wrote:
> On 2020-03-13 19:52, jlaat...@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 "", line 1, in 
> >File "C:\Users\Jerald Lashy 
> > Jeffery\AppData\Local\Temp\pip-install-ej949hlq\pyobjc-framework-AddressBook\setup.py",
> >  line 22, in 
> >  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.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: pyttsx3 installation error

2020-03-13 Thread jlaatech
On Saturday, 14 March 2020 01:52:51 UTC+2, Marco Sulla  wrote:
> It's a know bug. Solution: https://stackoverflow.com/a/59909885/1763602

Thank you for your concern.I tried the above solution first and it worked as 
well. Thank you
-- 
https://mail.python.org/mailman/listinfo/python-list