-
Notifications
You must be signed in to change notification settings - Fork 525
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
why i get error ? try install on win 11 vscode #644
Comments
Same. I have found some partial workarounds that I will test and post results here. |
I'm getting the same errors |
What I found is that piper-phonemize only supports up to Python 3.11. I wish the Pip error was more helpful on this issue. This is not a self-contradictory dependency as I thought, merely the library only being available for an older version of Python. Have confirmed that piper-tts installs with Python 3.11 on Fedora 41 x86-64. |
Same |
Same error or same solution? |
Sorry - same error and same solution - use 3.11 I'm always impressed every time I step into the python world - at how bad things are. Why do folks put up with it? I'm not blaming the maintainers here, it's python and its package/dependency management that's an absolute nightmare horrorshow |
I've only found that to be the case with very particular packages, especially involving machine learning where one is interfacing with high power hardware on a deep level AND the technology is rather new, so I was not surprised. The vast majority of packages are not so strict, often going back several Python versions without a problem. |
answers here and installation guide for window here |
From what I've figured out, this error happens because there's no version of piper-phenomize for python3.12 available on pypi. To fix it on ubuntu 24.04, I installed python3.11 according to the instructions here and then made a 3.11 venv via instructions here and installed piper_tts, and it just worked™ Here's a copy of the incantations I used as a quick reference and defense against linkrot:
Success! Note that the "sudo" commands install python3.11 in your base system. It doesn't matter if your previous venv is activated or not, nor which directory you're in. The non-sudo commands create a new virtual environment named "venv-311", activate it, double-check that "python3" invokes the 3.11 version, and then installs piper-tts in the new virtual environment. |
pip3 install -q piper-tts==1.2.0
ERROR: Could not find a version that satisfies the requirement piper-phonemize~=1.1.0 (from piper-tts) (from versions: none)
ERROR: No matching distribution found for piper-phonemize~=1.1.0
pip install piper-tts
Collecting piper-tts
Using cached piper_tts-1.2.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.
Using cached piper_tts-1.1.0-py3-none-any.whl.metadata (776 bytes)
ERROR: Cannot install piper-tts==1.1.0 and piper-tts==1.2.0 because these package versions have conflicting dependencies.
The conflict is caused by:
piper-tts 1.2.0 depends on piper-phonemize~=1.1.0
piper-tts 1.1.0 depends on piper-phonemize~=1.0.0
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
The text was updated successfully, but these errors were encountered: