Skip to content
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

Could not find a version that satisfies the requirement piper-phonemize~=1.0.0 #157

Closed
rtruszkowski opened this issue Aug 1, 2023 · 12 comments

Comments

@rtruszkowski
Copy link

rtruszkowski commented Aug 1, 2023

❯ pip install piper-tts
Collecting piper-tts
  Obtaining dependency information for piper-tts from https://files.pythonhosted.org/packages/2e/1c/cc3a342db7f03053eca4fa5b05362178a5a796115770b216740b733b24d7/piper_tts-1.1.0-py3-none-any.whl.metadata
  Using cached piper_tts-1.1.0-py3-none-any.whl.metadata (776 bytes)
INFO: pip is looking at multiple versions of piper-tts to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement piper-phonemize~=1.0.0 (from piper-tts) (from versions: none)
ERROR: No matching distribution found for piper-phonemize~=1.0.0
~/Developer/piper-tts ❯

I was unable to find a way to get this installed. What am I missing? 🤔

Same issue when I just try to pip install piper-phonemize directly.

@rtruszkowski
Copy link
Author

Currently this is supported on LINUX with Python version 3.9 - 3.11.

I was using 3.8.

Problem solved =) Thanks to @thorstenMueller on YT.

@patchworquill
Copy link

I'm getting this error In python 3.11.4 with pip 23.2.1.

@rtruszkowski
Copy link
Author

rtruszkowski commented Aug 24, 2023

I'm getting this error In python 3.11.4 with pip 23.2.1.

Which architecture are you on?

https://github.com/rhasspy/piper-phonemize/releases/tag/v1.1.0

The release shows 3.9, 3.10 and 3.11 wheels for aarch64 and x86_64

@rtruszkowski
Copy link
Author

Alternatively, if a binary is not available, you can always try building the package yourself. Clone piper-phonemize, build it, and change your project's requirements.txt from piper-phonemize~=1.1.0 to -e <path_to_your_local_version>. The syntax should be correct... 🤔

@FotieMConstant
Copy link

FotieMConstant commented Feb 4, 2024

Just tried install this on Apple Silicon M1 and got this error, any fix please?

python version: 3.10.13

@DoS007
Copy link

DoS007 commented Mar 27, 2024

pip install piper-tts gives me ERROR: No matching distribution found for piper-phonemize~=1.1.0

@kqdlx3
Copy link

kqdlx3 commented Jun 5, 2024

get the same error in python3.10.14, x86_64, what a rubbish project

@rodyherrera
Copy link

Hello, I got the same problem after trying to install piper-tts through pipy using the latest version of python, 3.12.

As you can see in the image, the error occurs, however, if I install the library using pipy in python 3.10 using the command "python3.10 -m pip install piper-tts" the error is not triggered.

Maybe it's because of the Python version?

I hope it helps something :).

Screenshot from 2024-07-22 00-23-59
(Screenshot with the error using Python 3.12)

Screenshot from 2024-07-22 00-24-13
(Screenshot where the error is not triggered after executing the installation from Python 3.10)

@ekcrisp
Copy link

ekcrisp commented Aug 5, 2024

I am getting this error on latest Ubuntu (24 lts) and latest python (3.12). I was able to install by using pyenv to downgrade to python 3.9. This is something the project maintainers need to prioritize, using the latest software should work on a project that is under active development, or if it doesn't work that needs to be called out in documentation.

@Planze
Copy link

Planze commented Dec 12, 2024

I have tried python 3.9, 3.10 as well as 3.11, and a few in between . Have not got it to work. Is there a specific version this is built upon? Have you guys found a solution on this yet? I am also on windows.

Someone above commented this could be avoided by building it from source. Could anyone point me in a direction on how that could be achieved if this is to be used in a python script?

@jwarwick-bry
Copy link

I am also getting the error from within container from: docker.io/library/ubuntu:latest , which at this point in time is:
Ubuntu 24.04.1 LTS noble
Python 3.12.3
pip 24.0
I am pretty sure this was working in Docker a few months ago.

@brandyn
Copy link

brandyn commented Dec 14, 2024

The quick fix is to build an older version (1.1.0) of piper-phonemize for python3.12, which is straightforward (you'll need docker-buildx installed but the rest happens inside a container so should replicate easily). See rhasspy/piper-phonemize#33 (comment)

It's yucky but should "just work", and pulls from the main repository only so should be safe.

Not sure how to do that inside another docker container. Dockerception?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants