aedocw / epub2tts

Turn an epub or text file into an audiobook
Apache License 2.0
543 stars 49 forks source link

Error cythonizing spacy on pip install TTS #269

Open rafferty90 opened 2 days ago

rafferty90 commented 2 days ago

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? :)

error1 error3

Drivez commented 12 hours ago

I get the same error when trying to install

aedocw commented 9 hours ago

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!!)

Drivez commented 9 hours ago

Im on Mac using a dev container with python 3.11

rafferty90 commented 8 hours ago

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.

aedocw commented 7 hours ago

I had a successful TTS install on a mac, in a virtual environment, with Python 3.11.2. It took a long time.

I'm running a fresh install of TTS on an Ubuntu 22 machine with Python 3.10.12, so far it's going OK but also taking ages...

UPDATE: install on Ubuntu 22.04 with python 3.10.12 took forever but finished successfully.

Both installs were in brand new virtual environments (python -m venv test; source test/bin/activate)