ProgrammingHero1 / romantic-alexa

396 stars 532 forks source link

Failed to install pyttsx3 #86

Open liam-gen opened 3 years ago

liam-gen commented 3 years ago

When I install pyttsx3 I get this error:


ERROR: Command errored out with exit status 1:
     command: 'c:\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Liam\\AppData\\Local\\Temp\\pip-install-rt9ambk0\\comtypes\\setup.py'"'"'; __file__='"'"'C:\\Users\\Liam\\AppData\\Local\\Temp\\pip-install-rt9ambk0\\comtypes\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Liam\AppData\Local\Temp\pip-record-gefr6no8\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\comtypes'
         cwd: C:\Users\Liam\AppData\Local\Temp\pip-install-rt9ambk0\comtypes\
    Complete output (223 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib
    creating build\lib\comtypes
    copying comtypes\automation.py -> build\lib\comtypes
    copying comtypes\connectionpoints.py -> build\lib\comtypes
    copying comtypes\errorinfo.py -> build\lib\comtypes
    copying comtypes\git.py -> build\lib\comtypes
    copying comtypes\GUID.py -> build\lib\comtypes
    copying comtypes\hresult.py -> build\lib\comtypes
    copying comtypes\logutil.py -> build\lib\comtypes
    copying comtypes\messageloop.py -> build\lib\comtypes
    copying comtypes\npsupport.py -> build\lib\comtypes
    copying comtypes\patcher.py -> build\lib\comtypes
    copying comtypes\persist.py -> build\lib\comtypes
    copying comtypes\safearray.py -> build\lib\comtypes
    copying comtypes\shelllink.py -> build\lib\comtypes
    copying comtypes\typeinfo.py -> build\lib\comtypes
    copying comtypes\util.py -> build\lib\comtypes
    copying comtypes\viewobject.py -> build\lib\comtypes
    copying comtypes\_comobject.py -> build\lib\comtypes
    copying comtypes\_meta.py -> build\lib\comtypes
    copying comtypes\_safearray.py -> build\lib\comtypes
    copying comtypes\__init__.py -> build\lib\comtypes
    creating build\lib\comtypes\client
    copying comtypes\client\dynamic.py -> build\lib\comtypes\client
    copying comtypes\client\lazybind.py -> build\lib\comtypes\client
    copying comtypes\client\_code_cache.py -> build\lib\comtypes\client
    copying comtypes\client\_events.py -> build\lib\comtypes\client
    copying comtypes\client\_generate.py -> build\lib\comtypes\client
    copying comtypes\client\__init__.py -> build\lib\comtypes\client
    creating build\lib\comtypes\server
    copying comtypes\server\automation.py -> build\lib\comtypes\server
    copying comtypes\server\connectionpoints.py -> build\lib\comtypes\server
    copying comtypes\server\inprocserver.py -> build\lib\comtypes\server
    copying comtypes\server\localserver.py -> build\lib\comtypes\server
    copying comtypes\server\register.py -> build\lib\comtypes\server
    copying comtypes\server\w_getopt.py -> build\lib\comtypes\server
    copying comtypes\server\__init__.py -> build\lib\comtypes\server
    creating build\lib\comtypes\tools
    copying comtypes\tools\codegenerator.py -> build\lib\comtypes\tools
    copying comtypes\tools\tlbparser.py -> build\lib\comtypes\tools
    copying comtypes\tools\typedesc.py -> build\lib\comtypes\tools
    copying comtypes\tools\typedesc_base.py -> build\lib\comtypes\tools
    copying comtypes\tools\__init__.py -> build\lib\comtypes\tools
    creating build\lib\comtypes\test
    copying comtypes\test\find_memleak.py -> build\lib\comtypes\test
    copying comtypes\test\runtests.py -> build\lib\comtypes\test
    copying comtypes\test\setup.py -> build\lib\comtypes\test
    copying comtypes\test\TestComServer.py -> build\lib\comtypes\test
    copying comtypes\test\TestDispServer.py -> build\lib\comtypes\test
    copying comtypes\test\test_agilent.py -> build\lib\comtypes\test
    copying comtypes\test\test_avmc.py -> build\lib\comtypes\test
    copying comtypes\test\test_basic.py -> build\lib\comtypes\test
    copying comtypes\test\test_BSTR.py -> build\lib\comtypes\test
    copying comtypes\test\test_casesensitivity.py -> build\lib\comtypes\test
    copying comtypes\test\test_client.py -> build\lib\comtypes\test
    copying comtypes\test\test_collections.py -> build\lib\comtypes\test
    copying comtypes\test\test_comserver.py -> build\lib\comtypes\test
    copying comtypes\test\test_createwrappers.py -> build\lib\comtypes\test
    copying comtypes\test\test_dict.py -> build\lib\comtypes\test
    copying comtypes\test\test_dispinterface.py -> build\lib\comtypes\test
    copying comtypes\test\test_DISPPARAMS.py -> build\lib\comtypes\test
    copying comtypes\test\test_dyndispatch.py -> build\lib\comtypes\test
    copying comtypes\test\test_excel.py -> build\lib\comtypes\test
    copying comtypes\test\test_findgendir.py -> build\lib\comtypes\test
    copying comtypes\test\test_getactiveobj.py -> build\lib\comtypes\test
    copying comtypes\test\test_GUID.py -> build\lib\comtypes\test
    copying comtypes\test\test_ie.py -> build\lib\comtypes\test
    copying comtypes\test\test_msscript.py -> build\lib\comtypes\test
    copying comtypes\test\test_outparam.py -> build\lib\comtypes\test
    copying comtypes\test\test_propputref.py -> build\lib\comtypes\test
    copying comtypes\test\test_pump_events.py -> build\lib\comtypes\test
    copying comtypes\test\test_QueryService.py -> build\lib\comtypes\test
    copying comtypes\test\test_safearray.py -> build\lib\comtypes\test
    copying comtypes\test\test_sapi.py -> build\lib\comtypes\test
    copying comtypes\test\test_server.py -> build\lib\comtypes\test
    copying comtypes\test\test_showevents.py -> build\lib\comtypes\test
    copying comtypes\test\test_subinterface.py -> build\lib\comtypes\test
    copying comtypes\test\test_typeinfo.py -> build\lib\comtypes\test
    copying comtypes\test\test_urlhistory.py -> build\lib\comtypes\test
    copying comtypes\test\test_variant.py -> build\lib\comtypes\test
    copying comtypes\test\test_win32com_interop.py -> build\lib\comtypes\test
    copying comtypes\test\test_wmi.py -> build\lib\comtypes\test
    copying comtypes\test\test_word.py -> build\lib\comtypes\test
    copying comtypes\test\__init__.py -> build\lib\comtypes\test
    copying comtypes\test\TestComServer.idl -> build\lib\comtypes\test
    copying comtypes\test\TestComServer.tlb -> build\lib\comtypes\test
    copying comtypes\test\TestDispServer.idl -> build\lib\comtypes\test
    copying comtypes\test\TestDispServer.tlb -> build\lib\comtypes\test
    copying comtypes\test\mytypelib.idl -> build\lib\comtypes\test
    copying comtypes\test\mylib.idl -> build\lib\comtypes\test
    copying comtypes\test\test_jscript.js -> build\lib\comtypes\test
    Skipping optional fixer: buffer
    Skipping optional fixer: idioms
    Skipping optional fixer: set_literal
    Skipping optional fixer: ws_comma
    running build_scripts
    creating build\scripts-3.9
    copying clear_comtypes_cache.py -> build\scripts-3.9
    running install_lib
    copying build\lib\comtypes\automation.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\client\dynamic.py -> c:\python39\Lib\site-packages\comtypes\client
    copying build\lib\comtypes\client\_code_cache.py -> c:\python39\Lib\site-packages\comtypes\client
    copying build\lib\comtypes\client\_events.py -> c:\python39\Lib\site-packages\comtypes\client
    copying build\lib\comtypes\client\_generate.py -> c:\python39\Lib\site-packages\comtypes\client
    copying build\lib\comtypes\connectionpoints.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\errorinfo.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\GUID.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\logutil.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\messageloop.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\patcher.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\safearray.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\server\automation.py -> c:\python39\Lib\site-packages\comtypes\server
    copying build\lib\comtypes\server\connectionpoints.py -> c:\python39\Lib\site-packages\comtypes\server
    copying build\lib\comtypes\server\inprocserver.py -> c:\python39\Lib\site-packages\comtypes\server
    copying build\lib\comtypes\server\localserver.py -> c:\python39\Lib\site-packages\comtypes\server
    copying build\lib\comtypes\server\register.py -> c:\python39\Lib\site-packages\comtypes\server
    copying build\lib\comtypes\shelllink.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\test\find_memleak.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\TestComServer.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\TestDispServer.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_agilent.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_avmc.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_basic.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_BSTR.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_casesensitivity.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_client.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_collections.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_comserver.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_createwrappers.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_dict.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_dispinterface.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_DISPPARAMS.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_dyndispatch.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_excel.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_findgendir.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_getactiveobj.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_GUID.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_ie.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_msscript.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_outparam.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_propputref.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_QueryService.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_safearray.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_sapi.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_typeinfo.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_urlhistory.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_variant.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_win32com_interop.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\test_wmi.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\test\__init__.py -> c:\python39\Lib\site-packages\comtypes\test
    copying build\lib\comtypes\tools\codegenerator.py -> c:\python39\Lib\site-packages\comtypes\tools
    copying build\lib\comtypes\tools\tlbparser.py -> c:\python39\Lib\site-packages\comtypes\tools
    copying build\lib\comtypes\_comobject.py -> c:\python39\Lib\site-packages\comtypes
    copying build\lib\comtypes\__init__.py -> c:\python39\Lib\site-packages\comtypes
    byte-compiling c:\python39\Lib\site-packages\comtypes\automation.py to automation.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\client\dynamic.py to dynamic.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\client\_code_cache.py to _code_cache.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\client\_events.py to _events.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\client\_generate.py to _generate.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\connectionpoints.py to connectionpoints.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\errorinfo.py to errorinfo.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\GUID.py to GUID.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\logutil.py to logutil.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\messageloop.py to messageloop.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\patcher.py to patcher.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\safearray.py to safearray.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\server\automation.py to automation.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\server\connectionpoints.py to connectionpoints.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\server\inprocserver.py to inprocserver.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\server\localserver.py to localserver.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\server\register.py to register.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\shelllink.py to shelllink.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\find_memleak.py to find_memleak.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\TestComServer.py to TestComServer.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\TestDispServer.py to TestDispServer.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_agilent.py to test_agilent.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_avmc.py to test_avmc.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_basic.py to test_basic.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_BSTR.py to test_BSTR.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_casesensitivity.py to test_casesensitivity.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_client.py to test_client.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_collections.py to test_collections.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_comserver.py to test_comserver.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_createwrappers.py to test_createwrappers.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_dict.py to test_dict.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_dispinterface.py to test_dispinterface.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_DISPPARAMS.py to test_DISPPARAMS.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_dyndispatch.py to test_dyndispatch.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_excel.py to test_excel.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_findgendir.py to test_findgendir.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_getactiveobj.py to test_getactiveobj.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_GUID.py to test_GUID.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_ie.py to test_ie.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_msscript.py to test_msscript.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_outparam.py to test_outparam.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_propputref.py to test_propputref.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_QueryService.py to test_QueryService.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_safearray.py to test_safearray.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_sapi.py to test_sapi.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_typeinfo.py to test_typeinfo.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_urlhistory.py to test_urlhistory.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_variant.py to test_variant.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_win32com_interop.py to test_win32com_interop.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\test_wmi.py to test_wmi.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\test\__init__.py to __init__.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\tools\codegenerator.py to codegenerator.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\tools\tlbparser.py to tlbparser.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\_comobject.py to _comobject.cpython-39.pyc
    byte-compiling c:\python39\Lib\site-packages\comtypes\__init__.py to __init__.cpython-39.pyc
    running install_scripts
    running egg_info
    writing comtypes.egg-info\PKG-INFO
    writing dependency_links to comtypes.egg-info\dependency_links.txt
    writing top-level names to comtypes.egg-info\top_level.txt
    reading manifest file 'comtypes.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'comtypes.egg-info\SOURCES.txt'
    copying build\scripts-3.9\clear_comtypes_cache.py -> c:\python39\Scripts
    error: could not create 'c:\python39\Scripts\clear_comtypes_cache.py': Permission denied
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Liam\\AppData\\Local\\Temp\\pip-install-rt9ambk0\\comtypes\\setup.py'"'"'; __file__='"'"'C:\\Users\\Liam\\AppData\\Local\\Temp\\pip-install-rt9ambk0\\comtypes\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Liam\AppData\Local\Temp\pip-record-gefr6no8\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python39\Include\comtypes' Check the logs for full command output.
Tokula4 commented 2 years ago

try creating a folder and installing everything in a particular folder , like creating a folder in your desktop after doing that go to your command prompt direct it to the folder then try again