-
Notifications
You must be signed in to change notification settings - Fork 18
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
Python 3.10 (and thus also Arm Macs) not supported? #34
Comments
That patch is necessary but insufficient for M1 Macs. Trace: $ cat requirements.txt
git+https://github.com/coqui-ai/stt-model-manager@d446b34c9e7aac2700c32ddd8574b783c81d86d8#egg=coqui-stt-model-manager
$ pip3 install -r requirements.txt
$ stt-model-manager
Traceback (most recent call last):
File "/Users/andrew/.pyenv/versions/3.10.0/bin/stt-model-manager", line 5, in <module>
from coqui_stt_model_manager.__main__ import main
File "/Users/andrew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/coqui_stt_model_manager/__main__.py", line 9, in <module>
from .server import build_app, get_server_hostport, start_app
File "/Users/andrew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/coqui_stt_model_manager/server.py", line 19, in <module>
from stt import Model
File "/Users/andrew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/stt/__init__.py", line 23, in <module>
from stt.impl import Version as version
File "/Users/andrew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/stt/impl.py", line 13, in <module>
from . import _impl
ImportError: dlopen(/Users/andrew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/stt/_impl.cpython-310-darwin.so, 0x0002): tried: '/Users/andrew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/stt/_impl.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) |
This is an issue with STT on your platform, not with the model manager. If you can't install and import If you are using Apple silicon, make sure you can install and import If you can install and import Otherwise, you can try to build and install I'll close this issue as there is nothing the manger can do. Checkout coqui-ai/STT#2197 to see the status of this |
The universal (Arm-compatible) version of stt is only available for python 3.10, while attempting to install this from pypi for python 3.10 fails with the error
ERROR: Cannot install coqui-stt-model-manager==0.0.10, coqui-stt-model-manager==0.0.11, coqui-stt-model-manager==0.0.12, coqui-stt-model-manager==0.0.14, coqui-stt-model-manager==0.0.15, coqui-stt-model-manager==0.0.16, coqui-stt-model-manager==0.0.17, coqui-stt-model-manager==0.0.18, coqui-stt-model-manager==0.0.8 and coqui-stt-model-manager==0.0.9 because these package versions have conflicting dependencies.
and from attempting to build and install from source using "make install" from a fresh clone fails with the error
ERROR: Package 'coqui-stt-model-manager' requires a different Python: 3.10.2 not in '<3.10,>=3.6'
The text was updated successfully, but these errors were encountered: