ComfyUI-PiperTTS icon indicating copy to clipboard operation
ComfyUI-PiperTTS copied to clipboard

not installing on windows

Open Fox-pix opened this issue 1 year ago • 4 comments

ComfyUI\custom_nodes\ComfyUI-PiperTTS>D:\ComfyUI\python_embeded\python.exe -s -m pip install pip install piper-tts==1.2.0 Requirement already satisfied: pip in d:\comfyui\python_embeded\lib\site-packages (24.0) Collecting install Downloading install-1.3.5-py3-none-any.whl.metadata (925 bytes) Collecting piper-tts==1.2.0 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. 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

Fox-pix avatar Apr 06 '24 14:04 Fox-pix

\ComfyUI\custom_nodes\ComfyUI-PiperTTS>D:\ComfyUI\python_embeded\python.exe -s -m pip install pip install piper-tts Requirement already satisfied: pip in d:\comfyui\python_embeded\lib\site-packages (24.0) Collecting install Using cached install-1.3.5-py3-none-any.whl.metadata (925 bytes) 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:

  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-conflic

Fox-pix avatar Apr 06 '24 14:04 Fox-pix

While Piper TTS itself isn't directly installable on Windows 10, you can leverage the Windows Subsystem for Linux (WSL) to run it. Here's a breakdown of the process: !!!!!!!!!!!!!!!!

Fox-pix avatar Apr 06 '24 15:04 Fox-pix

@Fox-pix I didn't know the pip package isn't supported on windows. Unfortunately, you'll have to use WSL to run it. I'll think of a possible fix for windows

yuvraj108c avatar Apr 06 '24 16:04 yuvraj108c

I think if you can provide the Piper install pack inside the VENV environment with all its sub directories as a copy then it will be easy to run it. I tried running the windows installer the PiperTTS works well inside windows without any hassles. Only when you use it inside comfy- it is not able to install same inside site-packages directory. If you can provide a link to the same piper directory including all files then the job will be done. On windows install direct it is running very well. image

jags111 avatar Apr 07 '24 15:04 jags111