rhasspy / piper-phonemize

C++ library for converting text to phonemes for Piper
MIT License
89 stars 77 forks source link

Upgrade python versions to allow 3.11 installation and fix current pip installation failure #27

Open jmfrank63 opened 9 months ago

jmfrank63 commented 9 months ago

Currently tested on a Mac M1, this alongside the piper PR should fix pip install piper-tts, which already created three issues.

Upgraded several python versions. Windows and Linux, not tested yet.

jmfrank63 commented 9 months ago

This is now at a point, where some conversation should take place. Currently, MacOS and Windows are working and roughly tested. Linux will follow, but I do not expect the same chore as with Windows. Both this and the piper are modified. If you want to run this, set an environment variable PIPER_PHONEMIZE_REPO and point it to your fork, so piper will load it.

rmcpantoja commented 9 months ago

This is now at a point, where some conversation should take place. Currently, MacOS and Windows are working and roughly tested. Linux will follow, but I do not expect the same chore as with Windows. Both this and the piper are modified. If you want to run this, set an environment variable PIPER_PHONEMIZE_REPO and point it to your fork, so piper will load it.

Hi @jmfrank63, How did you manage to do a wheel on Windows?

I tried through GitHub actions but got errors: https://github.com/rmcpantoja/piper-phonemize/blob/master/.github/workflows/main.yml

jmfrank63 commented 9 months ago

I don't know exactly what kind of errors you are experiencing, but it might be the Unicode that is not understood by the Microsoft C-compiler. I changed the utf-8 characters to the hex representation and added conditional compilation for windows. But I must have made a mistake because it broke other languages except English, which now produce pure nonsense. Haven't had the time to look into this yet.

rmcpantoja commented 9 months ago

I don't know exactly what kind of errors you are experiencing, but it might be the Unicode that is not understood by the Microsoft C-compiler. I changed the utf-8 characters to the hex representation and added conditional compilation for windows. But I must have made a mistake because it broke other languages except English, which now produce pure nonsense. Haven't had the time to look into this yet.

You can see the full log here. It says it can't find espeak-ng/include, maibe I'm doing pip wheel in an wrong path...