rhasspy / piper

A fast, local neural text to speech system
https://rhasspy.github.io/piper-samples/
MIT License
5.99k stars 434 forks source link

unable to install #335

Open ralyodio opened 9 months ago

ralyodio commented 9 months ago

root@C.7904492:~$ pipx install piper-tts pipx version is 1.4.0 Default python interpreter is '/usr/bin/python3.8' Determined package name: piper-tts Package name determined in 0.0s running /usr/bin/python3.8 -m venv --without-pip /root/.local/share/pipx/venvs/piper-tts running <checking pip's availability> running /usr/bin/python3.8 -m venv --clear /root/.local/share/pipx/shared running <checking pip's availability> Upgrading shared libraries in /root/.local/share/pipx/shared _ upgrading shared librariesrunning /root/.local/share/pipx/shared/bin/python -m pip --no-input --disable-pip-version-check install --force-reinstall -q --upgrade pip >= 23.1 running /root/.local/share/pipx/venvs/piper-tts/bin/python -c import sysconfig; print(sysconfig.get_path('purelib')) running /root/.local/share/pipx/shared/bin/python -c import sysconfig; print(sysconfig.get_path('purelib')) running /root/.local/share/pipx/venvs/piper-tts/bin/python --version cleaned package spec: piper-tts running /root/.local/share/pipx/venvs/piper-tts/bin/python -m pip --no-input install piper-tts '/root/.local/share/pipx/venvs/piper-tts/bin/python -m pip --no-input install piper-tts' failed Fatal error from pip prevented installation. Full pip output in file: /root/.local/state/pipx/log/cmd_2023-12-31_00.35.07_pip_errors.log

pip seemed to fail to build package: piper-tts

Some possibly relevant errors from pip install: ERROR: Cannot install piper-tts==1.1.0 and piper-tts==1.2.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

removing directory /root/.local/share/pipx/venvs/piper-tts Error installing piper-tts.

aaronnewsome commented 9 months ago

Best to use a compatible Python version. I recommend 3.10

adalmieres commented 4 months ago

Same error with python 3.12.1

$$$$$$$$$$$$>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 attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

aaronnewsome commented 4 months ago

you could also create a venv with python 3.10. for me that was easier than trying to manually unravel the dependencies.

On May 19, 2024, at 8:55 AM, Antoine Dalmières @.***> wrote:

Same error with python 3.12.1

$$$$$$$$$$$$>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 attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/rhasspy/piper/issues/335#issuecomment-2119247164", "url": "https://github.com/rhasspy/piper/issues/335#issuecomment-2119247164", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

adalmieres commented 4 months ago

I just did it on a fresh 3.10.0 virtualenv on windows. Same issue. Try forcing the piper-tts version to 1.1.0 or 1.2.0 Try ~= 1.1.0 or ~= 1.2.0 version Try <= 1.2.0 or >= 0.5 version Try to install piper-phonemize first Same issue.