-
Notifications
You must be signed in to change notification settings - Fork 479
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! |
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: