-
Notifications
You must be signed in to change notification settings - Fork 74
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
Can't install piper-phonemize in Python #41
Comments
Here's the error message: 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 |
Having same issue on my end exactly. Can't install piper-tts due to piper-phenomize but can't find a version of piper-phenomize with pip |
No builds for windows either. Looks like somebody deployed a borked build |
Same here with leanspeech |
I encountered a similar issue, and here's how I managed to fix it on my Windows 10 system:
After installing the updated requirements, I installed piper-phonemize-cross individually: You can find it here: This worked perfectly for me. Hope this helps! |
Thanks for this. I'm actually trying to I implement from comfyui so I don't think this will work.
I'm also not understanding your workforce to get to the requirements.txt file. Your link takes me to download a whl file which also doesn't install
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: jacson Ander ***@***.***>
Sent: Tuesday, October 22, 2024 12:23:40 PM
To: rhasspy/piper-phonemize ***@***.***>
Cc: Carey Chico ***@***.***>; Comment ***@***.***>
Subject: Re: [rhasspy/piper-phonemize] Can't install piper-phonemize in Python (Issue #41)
I encountered a similar issue, and here's how I managed to fix it on my Windows 10 system:
I removed the piper-phonemize line from the requirements.txt file located at: ~\piper\src\python\requirements.txt
Before:
cython>=0.29.0,<1
piper-phonemize~=1.1.0
librosa>=0.9.2,<1
numpy>=1.19.0
onnxruntime>=1.11.0
pytorch-lightning~=1.7.0
torch>=1.11.0,<2
My modified version:
cython>=0.29.0,<1
librosa>=0.9.2,<1
numpy>=1.24.4
onnxruntime>=1.11.0
pytorch-lightning~=1.7.0
torch>=1.11.0
After installing the updated requirements, I installed piper-phonemize-cross individually:
pip install piper-phonemize-cross
You can find it here:
https://pypi.org/project/piper-phonemize-cross/
This worked perfectly for me.
Hope this helps!
—
Reply to this email directly, view it on GitHub<#41 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5N2BUJUQJIO46UTOSFFMX3Z42Q3ZAVCNFSM6AAAAABOCLSV52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZQGA3TCMJYGQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Okay, update, I grabbed all of piper-master and modified the requirements.txt to match yours. I get the following error with torch:
ERROR: Could not find a version that satisfies the requirement torch<2,>=1.11.0 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0)
ERROR: No matching distribution found for torch<2,>=1.11.0
Carey Chico
…________________________________
From: Carey Chico ***@***.***>
Sent: Wednesday, October 23, 2024 1:11 PM
To: rhasspy/piper-phonemize ***@***.***>; rhasspy/piper-phonemize ***@***.***>
Cc: Comment ***@***.***>
Subject: Re: [rhasspy/piper-phonemize] Can't install piper-phonemize in Python (Issue #41)
Thanks for this. I'm actually trying to I implement from comfyui so I don't think this will work.
I'm also not understanding your workforce to get to the requirements.txt file. Your link takes me to download a whl file which also doesn't install
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: jacson Ander ***@***.***>
Sent: Tuesday, October 22, 2024 12:23:40 PM
To: rhasspy/piper-phonemize ***@***.***>
Cc: Carey Chico ***@***.***>; Comment ***@***.***>
Subject: Re: [rhasspy/piper-phonemize] Can't install piper-phonemize in Python (Issue #41)
I encountered a similar issue, and here's how I managed to fix it on my Windows 10 system:
I removed the piper-phonemize line from the requirements.txt file located at: ~\piper\src\python\requirements.txt
Before:
cython>=0.29.0,<1
piper-phonemize~=1.1.0
librosa>=0.9.2,<1
numpy>=1.19.0
onnxruntime>=1.11.0
pytorch-lightning~=1.7.0
torch>=1.11.0,<2
My modified version:
cython>=0.29.0,<1
librosa>=0.9.2,<1
numpy>=1.24.4
onnxruntime>=1.11.0
pytorch-lightning~=1.7.0
torch>=1.11.0
After installing the updated requirements, I installed piper-phonemize-cross individually:
pip install piper-phonemize-cross
You can find it here:
https://pypi.org/project/piper-phonemize-cross/
This worked perfectly for me.
Hope this helps!
—
Reply to this email directly, view it on GitHub<#41 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5N2BUJUQJIO46UTOSFFMX3Z42Q3ZAVCNFSM6AAAAABOCLSV52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZQGA3TCMJYGQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I tried pip install piper-phonemize or cloning the Git directory and installing it manually. Now I don't have it and can't use piper-tts...
The text was updated successfully, but these errors were encountered: