-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Linux] Add Python 3.12 support #33
Comments
In the meantime, you can download the source from tag v1.1.0, and in it, edit the Then you install the whl you just built alongside with If you trust me—which you shouldn't since I could very well have added a system("rm -rf /home") or worse in there for kicks and giggles—here's my build: https://temp.zetanor.com/g417y32tss0q8l43bg4e6q/piper_phonemize-1.1.0-cp312-cp312-manylinux_2_28_x86_64.whl |
Thanks. I decided it wasn't a high priority for me after all. I did want to test it locally real quick, but as I am already using Docker for a bunch of projects, I can easily run in an Ubuntu container with python 3.10. |
Would it be possible to upload the source bundle to pypi? That would allow pip to build the wheel locally (assuming the needed packages are installed) rather than just having to wait for built wheels be be pushed to pypi |
agreed |
Checking in on this - It's September, how's it going? |
Does anyone interested working with me on that?
Then we can create a PR here, and in the meantime a fork which will publish wheels. |
Any progress? Upgraded to the Ubuntu LTS release and my home lost its voice. :/ |
I created pypy project search on my github |
Maybe you can use the follow command to install the piper-phonemizer: pip install piper_phonemize -f https://k2-fsa.github.io/icefall/piper_phonemize.html |
I was able to get piper-tts installed on the latest Ubuntu LTS under python3.12 by (what I now realize is essentially @zetanor 's suggested method above) downloading an older version of the project from github and changing one line of the Dockerfile to compile a python 3.12 version. Here are the exact commands I issued in order (since it builds with docker, this should be fairly independent of your particular environ?). I did these as a regular user, not root. You will need to have docker-buildx installed and your user must be in the docker group:
|
Hey! I was trying to
pip install piper-tts
, but it fails to resolvepiper-phonemize
. I see on PyPI that there is a Python 3.12 build for Mac OS, but not for Linux. As Python 3.12 is now the default on Arch Linux and Ubuntu 24.04 LTS, would it be possible to update or rebuild the package with support for 3.12?Thanks, Pat
The text was updated successfully, but these errors were encountered: