-
Notifications
You must be signed in to change notification settings - Fork 514
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
Cannot install piper-tts==1.1.0 and piper-tts==1.2.0 because these package versions have conflicting dependencies. #509
Comments
I had this problem too, I was able to get around it by installing python v3.10.12 and using that in a virtual environment. Otherwise I could not find any way to get it to work with my main system python v3.12.3. It seems this trick doesn't work for everyone but it did work for me on Arch Linux. |
Same issue here... even with python v3.10.12 I still having the issue on my mac m1. I don't know if this can affect (venv31012) [jesus@Jesus-MBP](aks-uat-shared-app)(apps)scrapper (master)% python --version
Python 3.10.12
(venv31012) [jesus@Jesus-MBP](aks-uat-shared-app)(apps)scrapper (master)% pip install --no-cache-dir piper-tts
Collecting piper-tts
Downloading 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.
Downloading 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 However, on a docker container based on |
Also on Arch Linux, I have to use micromamba to install Python 3.11. Related rhasspy/piper-phonemize#33. |
I have similar issue
|
I have this problem using python 3.11.9
|
problem with python 3.10.11 Collecting piper-tts The conflict is caused by: 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 |
I still have this problem with python 3.11.6
|
I am having this as well on a Mac with python 13.10.12 |
I'm having this issue with both Python 3.11 and 3.9 on Windows. Downloading and running the piper windows binary works fine, but having the package installed would be better for my projects. My "workaround" at the moment is a Dockerfile using the python:3.9-slim image. I then run apt-install for "libportaudio2" and "libsndfile1" (not sure if these are even needed tbh), and then ensuring piper-tts is installed via pip (I have a requirements.txt file for this). |
Same problem here, python 3.12.4 on Ubuntu. |
same problem Python 3.11.5 |
I am having same problem with
The log states the same:
This appears to be an outstanding reproducible issue. Thanks. Cheers, |
Having the same issue on Windows 10 with a fresh install of Windows and Python 3.10.6. I had previously tried with Python 3.11 and 3.12 which gave the exact same conflict error, so I did a system wipe and reinstalled just one runtime to see if it was some kind of orphaned package conflicting on the old system.
|
This is such an awesome project. I really hope we can get python 3.12 support soon. Thx for sharing your efforts. |
Same issue on Mac M2 with python 3.9, 3.10, 3.12.
|
Windows 10 python 3.11.7
|
Many users are having similar install issues across many different platforms. Most suggest some workaround including building from source, which is obviously a bad user experience. I personally was able to install by downgrading python on the latest Ubuntu. I had to switch from using 32 bit to 64 bit in order to get it working on Raspberry PI OS Lite. Maintainers need to prioritize these issues so that new users are able to use their software. |
piper is dead, broken for months, last release 2023, switch to something else |
One solution here in case it helps anyone is upgrading your OS version. Longer more detailed explanation for those who want to understand more: If you take a look at the uploaded package identifiers for
In this example, we can see that the requirements needed to install that specific version of the package are:
Other wheels available appear to support python version 3.9, 3.10, and mac OS architectures, but the main thing here for folks installing
Here are a few debugging methods that can be used in situations like this: # This command can be used to print information that includes the
# python package tags your system supports:
pip debug --verbose
# Example output:
...
Compatible tags: 689
cp311-cp311-manylinux_2_27_x86_64
cp311-cp311-manylinux_2_26_x86_64
cp311-cp311-manylinux_2_25_x86_64
cp311-cp311-manylinux_2_24_x86_64
cp311-cp311-manylinux_2_23_x86_64
... Another useful one is installing packages verbosely. This output is helpful because it tells you exactly what packages were skipped for installation and why:
The easiest way to check what version of ldd --version
# Example output from my old Raspberry Pi where installs where failing:
ldd (Ubuntu GLIBC 2.27-3ubuntu1.6) 2.27 The python version can also be helpful to check: python3 --version
# Python 3.7.3 The last note I'll include is that you can look up what
These are the python and
More for debian versions (Raspberry Pi OS will match these): In the cases I ran into while testing this on different systems I found that generally either my Python version was too old or my pip install piper-tts
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting piper-tts
Downloading piper_tts-1.2.0-py3-none-any.whl (29 kB)
Collecting piper-phonemize~=1.1.0
Downloading piper_phonemize-1.1.0-cp311-cp311-manylinux_2_28_aarch64.whl (24.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.5/24.5 MB 852.6 kB/s eta 0:00:00
...
Successfully installed numpy-2.1.0 onnxruntime-1.19.0 piper-tts-1.2.0 I suspect one way to add support for a wider range of linux distros might be to add a build arg to the |
There are still commits flowing in, so I wouldn't throw in the towel just yet unless there's a more compelling alternative. It's frustrating to deal with this after upgrading ubuntu. Python environment anxiety ranks high on my list of things I hate dealing with. Hopefully the pipe team will see this as CRITICAL issue to fix. |
This advice seems to be opposite of that is going on in my experience. I have to use an old version of Python (3.10.12) in order to get it work, anything newer doesn't seem to work. Anyone on an Arch-based or other rolling release distro is already going to have the newest packages, and downgrading is your only hope... if you are lucky and it works for you. |
same issue, Python 3.12.6, Arch Linux. |
As an additional data point regarding python versions, etc., building a non-system install of python 3.10.15 (so just have it live under Less paranoid folks might just go for using Summary below.
|
Here are 2 ways to I used to install using pip, first with conda:
second with Docker/Podman:
|
This method does not overcome the dependencies conflict and throws the same error. piper-tts fails to load. Possible solution from Dave Xanatos
|
Same issue here. Using windows 11, tried it on python 13, 11, 10, and 8. No luck. The conflict is caused by: 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` I also tried installing piper-phonemize directly to fulfill the requirement. |
I have installed it successfully on a Rpi4B: Os 64-bit Lite, on the 32-bit version, didn't work.
DO NOT INSTALL ON 32-bit system! |
Same windows11 Python 3.11.9 The conflict is caused by: To fix this you could try to:
|
I used these steps to accomplish this: I hope this helps anyone else with the issue! |
@synesthesiam fix this issue and my life is yours! |
on this article for windows WSL install mentions a full pip list, that might help you troubleshoot conflicting packages in your case. |
I was able to install it on Raspberry Pi 5 with just the pip install piper-tts I was not able to install it on a Windows 10 PC with Python 3.12, same dependency conflict error reported above. |
for those willing to use uv tool install --python 3.11 piper-tts==1.2.0 |
From what I've looked at, this error is caused by the absence of a wheel build for python3.12 of piper-phenomize manylinux. And maybe piper-tts too, but I don't think pip gets that far. Since this is the version shipped with ubuntu 24.04 (among others) this problem is now extremely common. And rhasspy hasn't issued a fix. This project might be dead, and in need of a new maintainer. I haven't figured out how to build an updated wheel file, but HERE Someone has, and made one available. Which is now a 404 error - thanks linkrot. Other solutions may include downgrading python to 3.11, (which doesn't work for me) installing a previous version of your OS (which I'm not going to try) and restarting with a clean environment. The incantation for downgrading python should be "pip install python==3.11" though that didn't work for me. In theory, maybe conda works better than pip in managing python versions? Worth trying maybe. Hopefully I'll be able to build one eventually, and post it here, but no promises. If it's not here yet, you're more than welcome to build it yourself. If you do so successfully, PLEASE post it here so I don't have to figure out more of this crap. |
FWIW, the impression I get is that 3.10 is more likely to work. |
Hello Guys I faced with the same problems, so piper-phonemize for some reasons is not avaiable on pip distribution repo, so need to install alone before to install piper-tts. here the link where can be found the *.whl files. |
Alas, the only 3.12 compatible build is for macos for some reason. (Presumably this is the source of this whole issue.) |
I was able to get piper-tts installed on the latest Ubuntu LTS under python3.12 by simply downloading an older version of the project from github and changing one line of the Dockerfile to compile a python 3.12 version. Here are the exact commands I issued in order (since it builds with docker, this should be fairly independent of your particular environ?). I did these as a regular user, not root. You will need to have docker-buildx installed and your user must be in the docker group:
|
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: