Closed andrewbaisden closed 1 year ago
I solved it and found a working solution.
If pyobjc
is already installed and you still can't see the AppKit
module, there might be an issue with your Python environment or installation. In this case, consider creating a new virtual environment or reinstalling Python to ensure a clean setup.
I have Python 3.11 downloaded and installed from https://www.python.org/. Using the command which python3
will show you where it's installed on your computer.
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 .env
file and make sure you put the IDs in the right place.
### 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.