Error while installing piper
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:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Why cant I just plug and play? I hate this, it's giving headaches every time I open git
Nevermind I have fixed it
What did you do to fix it?
I'm getting this error too. I tried in a brand new venv and I'm sill getting the conflict. I'm using python 3.13.3. Could versioning be the problem?
This relates to python version. Intall 3.10.0 on pyenv and then create an venv environment with it.
I'm getting this error too. I tried in a brand new venv and I'm sill getting the conflict. I'm using python 3.13.3. Could versioning be the problem?
I now understand too. The problem is that piper-phonemize~=1.1.0 is a requirement set in piper, but that (thinks that it) requires older python versions, 3.8-3.10. This isn't actually required. So I manually installed piper-phonemize for my python3.12 and then installed this.
What did you do to fix it?
I got a different installer which doesn't have this issue. Instead of installing via pip or getting the installer from the main site. It didn't work using git clone
I managed to make it work by using a different download. It's hard to find it, but it's there. I'm using windows, so search for the windows download, not the basic download. "piper_windows_amd64.zip"
Also I have python 3.11.9, since python 3.10 didn't want to work and kept printing issues.
pip install piper-phonemize Defaulting to user installation because normal site-packages is not writeable ERROR: Could not find a version that satisfies the requirement piper-phonemize (from versions: none) ERROR: No matching distribution found for piper-phonemize
pip install piper-tts Defaulting to user installation because normal site-packages is not writeable 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:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
ubuntu , new $python3 --version Python 3.13.3
ubuntu
pip install piper-tts Defaulting to user installation because normal site-packages is not writeable 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:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
Piper has been updated to 1.3.0, and it should fix the dependency issues. Development has also moved: https://github.com/OHF-Voice/piper1-gpl