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

Publish python wheels for apple silicon Macs #81

Open
willwade opened this issue Aug 20, 2023 · 1 comment
Open

Publish python wheels for apple silicon Macs #81

willwade opened this issue Aug 20, 2023 · 1 comment

Comments

@willwade
Copy link

willwade commented Aug 20, 2023

so heres the code

from aspeak import SpeechService, AudioFormat

and it leads to

Traceback (most recent call last):
  File "/Users/willwade/GitHub/TranslateAndTTS/translatepb.py", line 9, in <module>
    from aspeak import SpeechService, AudioFormat
ImportError: cannot import name 'SpeechService' from 'aspeak' (/Users/willwade/.pyenv/versions/3.11.4/lib/python3.11/site-packages/aspeak/__init__.py)

I've tried py 3.8, 3.10.11, 3.9 and you can see above 3.11
I'm on a Mac M2

I have a feeling its the mac causing this issue. On Windows running py 3.8 its fine

@kxxt
Copy link
Owner

kxxt commented Aug 21, 2023

I'm on a Mac M2
I have a feeling its the mac causing this issue.

Yes, your feeling is right. I haven't published wheels for apple silicon Macs.
This could be fixed but I am busy right now and don't have time to do so.

For now, You can build a wheel by yourself, or just use the closed-source speech SDK from Microsoft

@kxxt kxxt changed the title cannot import name 'SpeechService' from 'aspeak' Publish python wheels for apple silicon Macs Aug 21, 2023
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

2 participants