unable to install
[email protected]:~$ 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.
Best to use a compatible Python version. I recommend 3.10
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
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" } } ]
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.
Still existing issue - although I came at it from pipx Windows 11
Some sort of broken dependency file in there somewhere.
C:\Users\furicle
»»»» pipx install piper-tts
Fatal error from pip prevented installation. Full pip output in file:
C:\Users\furicle\pipx\logs\cmd_2024-10-10_10.14.08_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
Error installing piper-tts.
C:\Users\furicle
»»»» pipx install piper-tts==1.2.0
Fatal error from pip prevented installation. Full pip output in file:
C:\Users\furicle\pipx\logs\cmd_2024-10-10_10.15.40_pip_errors.log
pip seemed to fail to build package:
piper-tts==1.2.0
Some possibly relevant errors from pip install:
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
Error installing piper-tts from spec 'piper-tts==1.2.0'.
C:\Users\furicle
»»»» pipx install piper-tts==1.1.0
Fatal error from pip prevented installation. Full pip output in file:
C:\Users\furicle\pipx\logs\cmd_2024-10-10_10.15.57_pip_errors.log
pip seemed to fail to build package:
piper-tts==1.1.0
Some possibly relevant errors from pip install:
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
Error installing piper-tts from spec 'piper-tts==1.1.0'.
Note it installs fine via pipx under Alma Linux 9 - so a just Windows issue?
Note it installs fine via pipx under Alma Linux 9 - so a just Windows issue?
The same error pops up on my Arch Linux machine.