Skip to content
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

OSError: [Errno 86] Bad CPU type in executable: #125

Open
0-CYBERDYNE-SYSTEMS-0 opened this issue Mar 23, 2024 · 0 comments
Open

OSError: [Errno 86] Bad CPU type in executable: #125

0-CYBERDYNE-SYSTEMS-0 opened this issue Mar 23, 2024 · 0 comments

Comments

@0-CYBERDYNE-SYSTEMS-0
Copy link

**'/Users/TDS/Library/Application
Support/01/services/tts/piper/piper/piper'

Traceback (most recent call last):
File "/Users/TDS/01/software/source/server/server.py", line 281, in
listener
await stream_tts_to_device(sentence)
File "/Users/TDS/01/software/source/server/server.py", line 333, in
stream_tts_to_device
for chunk in stream_tts(sentence):
File "/Users/TDS/01/software/source/server/server.py", line 338, in
stream_tts
audio_file = tts(sentence)
^^^^^^^^^^^^^
File
"/Users/TDS/01/software/source/server/services/tts/piper/tts.py", line
19, in tts
subprocess.run([
File
"/Users/TDS/.pyenv/versions/3.11.0/lib/python3.11/subprocess.py", line
546, in run
with Popen(*popenargs, kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/TDS/.pyenv/versions/3.11.0/lib/python3.11/subprocess.py", line
1022, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File
"/Users/TDS/.pyenv/versions/3.11.0/lib/python3.11/subprocess.py", line
1899, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)

brew install portaudio ffmpeg cmake # Install Mac OSX dependencies
poetry install # Install Python dependencies
export OPENAI_API_KEY=sk... # OR run poetry run 01 --local to run everything locally
poetry run 01 # Runs the 01 Light simulator (hold your spacebar, speak, release)

after I release the space bar I get the answer in text but then I get the above error instead of TTS.

Expected behavior
I expected to hear the voice speak the words that came back from the API response.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS Somoma 14.4
  • Python Version [3.11]

Additional context
same exact program from the same exact install works fine on my Mac mini M1 with 16 gigs of ram

This was referenced Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant