yuvraj108c / ComfyUI-PiperTTS

ComfyUI Piper TTS Custom Node
MIT License
29 stars 2 forks source link

not installing on windows #1

Open Fox-pix opened 6 months ago

Fox-pix commented 6 months ago

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 commented 6 months ago

\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 commented 6 months ago

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: !!!!!!!!!!!!!!!!

yuvraj108c commented 6 months ago

@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

jags111 commented 6 months ago

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