Closed russlevy closed 6 years ago
pip install --upgrade --user git+https://github.com/boppreh/keyboard
-- works
From pip - same story
I think this is due to the new pyobjc declaration format. Instead if reading the platform name in runtime, we are using a setuptools format to declare a dependency is MacOS only.
I'll revert back to the old format and publish a fix as soon as I can.
setup.py fixed in version 0.,13.1. Please use pip install --no-cache keyboard
if your pip cached the version with incorrect dependency.
Thank you for the timely bug report, it would have taken me a while to realize the problem since I always work locally.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Were you able to resolve it @sushrut29? As I am also getting the same error.
@sushrut29 @danish2694 you can install "pyttsx3" using
pip install git+https://github.com/nateshmbhat/pyttsx3
I have solved the problem. Uninstalled Python 3.7 , installed Python 3.6 and then pip install pyttsx3 worked superbly ! @danish2694
@sushrut29 @danish2694 you can install "pyttsx3" using
pip install git+https://github.com/nateshmbhat/pyttsx3
PS C:\Users\puneetm\Desktop\PB\MIS\vs files> pip install pyttsx3
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-SearchKit==6.1
Downloading pyobjc_framework_SearchKit-6.1-py2.py3-none-any.whl (3.3 kB)
Collecting pyobjc-framework-CoreAudio==6.1
Downloading pyobjc-framework-CoreAudio-6.1.tar.gz (82 kB)
|████████████████████████████████| 82 kB 33 kB/s
ERROR: Command errored out with exit status 1:
command: 'C:\Users\puneetm\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\puneetm\AppData\Local\Temp\pip-install-r4abkijd\pyobjc-framework-CoreAudio\setup.py'"'"'; file='"'"'C:\Users\puneetm\AppData\Local\Temp\pip-install-r4abkijd\pyobjc-framework-CoreAudio\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\puneetm\AppData\Local\Temp\pip-install-r4abkijd\pyobjc-framework-CoreAudio\pip-egg-info'
cwd: C:\Users\puneetm\AppData\Local\Temp\pip-install-r4abkijd\pyobjc-framework-CoreAudio\
Complete output (15 lines):
Traceback (most recent call last):
File "
getting this error
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
People, this is a closed issue in the keyboard
library and is entirely unrelated to the issue you are having. You'll get better answers if you post your question on StackOverflow or somewhere related to pyttsx3.
thanks, @khushbu-mulani & @sushrut29, I solved the issue by installing a lower version and it is working fine as of now.
Starting with version 0.13, running
pip install keyboard
doesn't seem to work.