piper icon indicating copy to clipboard operation
piper copied to clipboard

Error while installing piper

Open iCaptainDeniz opened this issue 6 months ago • 10 comments

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:

  1. loosen the range of package versions you've specified
  2. 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

iCaptainDeniz avatar Jun 14 '25 06:06 iCaptainDeniz

Why cant I just plug and play? I hate this, it's giving headaches every time I open git

iCaptainDeniz avatar Jun 14 '25 06:06 iCaptainDeniz

Nevermind I have fixed it

iCaptainDeniz avatar Jun 14 '25 07:06 iCaptainDeniz

What did you do to fix it?

davidlowryduda avatar Jun 17 '25 17:06 davidlowryduda

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?

darylf avatar Jun 17 '25 20:06 darylf

This relates to python version. Intall 3.10.0 on pyenv and then create an venv environment with it.

laureano-arcanio avatar Jun 17 '25 21:06 laureano-arcanio

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.

davidlowryduda avatar Jun 17 '25 21:06 davidlowryduda

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.

iCaptainDeniz avatar Jun 18 '25 05:06 iCaptainDeniz

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:

  1. loosen the range of package versions you've specified
  2. 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

lykamspam avatar Jul 07 '25 06:07 lykamspam

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:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

lykamspam avatar Jul 10 '25 18:07 lykamspam

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

synesthesiam avatar Jul 11 '25 04:07 synesthesiam