MattePalte / Verbify-TTS

Simple and free Text-to-Speech (TTS) engine that reads for you any text on your screen with high-quality voices powered by AI models.
MIT License
118 stars 14 forks source link

Fails to build on Ubuntu 22.04 with Python 3.10 #2

Closed lwbt closed 2 years ago

lwbt commented 2 years ago

Hello since you posted on AskUbuntu about your project I wanted to try it out but it failed to build due to numpy not supporting 3.10. The package that caused it in the dependency chain was h5py, but even after removing the version numbers from the requirements file uit could not finish the installation, this time due to pyworld also stumbling over numpy and Python 3.10.

MattePalte commented 2 years ago

Hi @lwbt I have not tested it with 3.10.

I have two ideas:

OPTION 1 you can try changing the version of numpy to 1.22.0 NumPy 1.22.0 is a big release featuring the work of 153 contributors spread over 609 pull requests. The Python versions supported by this release are 3.8-3.10. Source: https://numpy.org/news/ Then you might leave some other dependencies without version number (e.g. h5py) If you get it work feel free to share the modification with the community as comments or as pull request.

OPTION 2 Did you try creating a virtual environment with python3.8? I suppose you will need to install python 3.8 system wise

sudo apt install python3.8

And then install everything as I did with python3.8 as replacement

I hope it helps and thanks for the interest! I wish you a happy and productive day, Cheers, Matteo

dioniso1 commented 2 years ago

I have the same issue on Ubuntu 22.10, the installation interrupt because of python 3.10.7 , I tried to install python 3.8 but /deadsnakes/ppa/ has not added the repository for Ubuntu 22.10 yet. Cause my low IT capacity I'm stuck at the moment.

MattePalte commented 2 years ago

Hi @dioniso1 how is it going?

from this post it seems it is possible. I will close the issue for now to keep the repo clean, please reopen it if it still doesn't work. Looking forward to your answer.

Cheers, Matteo