ERROR: Cannot install piper-tts==1.1.0 and piper-tts==1.2.0 because these package versions have conflicting dependencies.
python.exe Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
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:
- 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
I am facing the same issue.
Are you using a Windows operating system??
yes windows 11 23H2
Exactly the same. It doesn't work when using pip to install Piper.
However, I actually solved it by downloading the zip file from here: https://github.com/rhasspy/piper/releases/download/2023.11.14-2/piper_windows_amd64.zip
After downloading, unzip the file, then download the model and its config file from Hugging Face, and place them in the same folder for easier access.
Next, open the command prompt from the Piper folder and run this command:
echo "Your text here" | piper.exe -m C:\piper\your_model.onnx -c C:\piper\your_model_config_file.onnx.json -f my_voice.wav
This should work!
Feel free to reach out if you need further assistance!
I got bitten by the same. The issue seems to be that piper-phonemize is not built for Windows: https://pypi.org/project/piper-phonemize/#files
I got bitten by the same. The issue seems to be that piper-phonemize is not built for Windows: https://pypi.org/project/piper-phonemize/#files
That is True.
But there is an approach to solve this problem as I mentioned above.
I have the same issue on linux. All these packages seem well outdated and not well maintained.
Hi, I’m experiencing the same installation issue with Piper TTS when trying to use it. I'm running Python 3.9 on Windows 11, and the CPU version of onnxruntime seems to conflict with the current dependency requirements.
I have moved away from this project. The audio streaming from the docker container is horrible, manual installation fails.
I tried it on Intel Windows 10 with Python 3.11.2, 3.10.11, and 3.12.5 and this exact same error message will not go away. I then tried it with Python 3.10.12 in WSL in Windows 10, and it worked first time! https://youtu.be/Zhl__eO03f8
Exactly the same. It doesn't work when using pip to install Piper.
However, I actually solved it by downloading the zip file from here: https://github.com/rhasspy/piper/releases/download/2023.11.14-2/piper_windows_amd64.zip
After downloading, unzip the file, then download the model and its config file from Hugging Face, and place them in the same folder for easier access.
Next, open the command prompt from the Piper folder and run this command:
echo "Your text here" | piper.exe -m C:\piper\your_model.onnx -c C:\piper\your_model_config_file.onnx.json -f my_voice.wavThis should work!
Feel free to reach out if you need further assistance!
Confirmed this works with the latest version of Visual C++ 2015-2022 Redistributable (x64) version 14.42.34438.0
Following!
Same issue. +1 Bump.
I have same issue on linux mint
Same issue on macOS Sequoia.
Likely the same issue: https://github.com/rhasspy/piper/issues/769
@simonsays-techtalk, what are you using instead? I'm tempted to try @ShikoThePro's solution but it seems like it's essentially just a downgrade, so I'd be reluctant to rely on it.
@micseydel That is a very good question. I got so fed up with it all, I designed my own solution. But it is very different from this. It is an HA mediaplayer that does STT and TTS from Ollama and has the ability to learn and forget using a database (RAG). It's still somewhat, or very, rudimental, but it does work with some effort. Check my github, it's called Soundhive. It does tts from HA, but cannot execute commands (not that that was working very well anyway, or usefull). I found tts from HA more usefull that executing STT commands for my usecase.
I have the same issue with Windows 11.