-
Notifications
You must be signed in to change notification settings - Fork 44.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speech Mode not working: ModuleNotFoundError: No module named 'AppKit' #2810
Comments
I solved it and found a working solution. If I have Python 3.11 downloaded and installed from https://www.python.org/. Using the command To create a new virtual environment, run: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m venv my_new_env
source my_new_env/bin/activate
pip install pyobjc Then install the packages in the new virtual environment: pip install -r requirements.txt Then run it in Speech Mode: python3 -m autogpt --speak To get custom ELEVENLABS voices ass these to the ### ELEVENLABS
## ELEVENLABS_API_KEY - Eleven Labs API key (Example: my-elevenlabs-api-key)
## ELEVENLABS_VOICE_1_ID - Eleven Labs voice 1 ID (Example: my-voice-id-1)
## ELEVENLABS_VOICE_2_ID - Eleven Labs voice 2 ID (Example: my-voice-id-2)
ELEVENLABS_API_KEY=YOUR API KEY
ELEVENLABS_VOICE_1_ID=21m00Tcm4TlvDq8ikWAM
ELEVENLABS_VOICE_2_ID=AZnzlk1XvdvUeBnXmlld |
It work, Thank you very much @andrewbaisden |
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days. |
This issue was closed automatically because it has been stale for 10 days with no activity. |
I have an M1 MacBook Pro and I get this error when I try to use Speech Mode:
I tried installing these packages and still had the same error.
I also get this error when trying to update the playsound package to 1.3.0. Only 1.2.2 will install all other versions fail https://pypi.org/project/playsound/#history
These issues are related:
OSError: Unable to load sound #856
In speak mode: ModuleNotFoundError: No module named 'gi' #1697
--speak mode not working #483
The Speech Mode worked in this previous build but not the latest one I have only been able to get the text mode to work.
The text was updated successfully, but these errors were encountered: