-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error cythonizing spacy on pip install TTS #269
Comments
I get the same error when trying to install |
What platform? Which version of python? I haven't done a clean install in ages but I'm trying now (so far its going fine but also taking ages to download so many versions of transformers!!) |
Im on Mac using a dev container with python 3.11 |
Mine is windows 10, python 3.11. I do not have a dedicated gpu so I have opted and successfully used the edge-tts version. Very happy with the results. This being my first tts project. I have learnt a lot. @aedocw if you have any insights on how to solve this, this will be great. |
I had a successful TTS install on a mac, in a virtual environment, with I'm running a fresh install of TTS on an Ubuntu 22 machine with UPDATE: install on Ubuntu 22.04 with python 3.10.12 took forever but finished successfully. Both installs were in brand new virtual environments ( |
UPDATE: i tested this on another Mac not using the M chips and it worked fine, so maybe something there? or something other our local machines |
I just recreated this error on a clean Ubuntu 24.04 system with python 3.11.10 in a venv. Damn :( I'll see if I can figure out why, but if anyone has ideas or sorts this out, please share, thanks! |
I think this fixed it for me: Before that, in the same venv, I ran |
Windows 11, Python 3.11.9 (.venv) PS C:\users\Jon\Development\epub2tts> pip install . × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
The TTS library used by this repo isn't supported anymore. People are having similar issues over there, so I expect the problems are similar here. They recommend switching to |
I'm trying with this repo, replacing TTS with coqui-tts in requirements. Will follow up with how that goes. |
Thanks to @onura46 I think the fix was switching to a new repo for coqui! Merging update to requirements now, users experiencing failed installs can try EDIT: Not so fast, this didn't solve things for me. Might try with python3.10, as seen in some other bug reports. |
This worked with this branch and Python 3.11 in a clean venv:
I'll update instructions, I think it's fixed! Folks who have had problems, please try and let me know how it works for you. |
Thanks a bunch for this. |
pip install TTS thows the error "Cython.Compiler.Errors.CompileError: spacy/kb.pyx" (spacy-3.0.6.tar.gz). Any thoughts on how to resolve this? :)
The text was updated successfully, but these errors were encountered: