coqui-ai / TTS

🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
http://coqui.ai
Mozilla Public License 2.0
33.64k stars 4.09k forks source link

[Bug] Can not install the library inside Docker container #3844

Open kostas2370 opened 1 month ago

kostas2370 commented 1 month ago

Describe the bug

I have an issue on installing TTS library in my dockerfile , I add TTS in my requirements.txt , i use python 3:9 and trying to install the latest version .

When i remove TTS the requirements are installed fine

To Reproduce

try putting TTS in requirements.txt and pip install inside a dockerfile

Expected behavior

it would have to download the TTS module.

Logs

File "<string>", line 43, in <module>
662.6       FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-qh9b5us8/tts_c659be9d18984acca728629e9ac1c5fe/requirements.txt'
662.6       [end of output]
662.6
662.6   note: This error originates from a subprocess, and is likely not a problem with pip.
662.6 error: subprocess-exited-with-error

Environment

wget https://raw.githubusercontent.com/coqui-ai/TTS/main/TTS/bin/collect_env_info.py
python collect_env_info.py

Additional context

docker_requirements.txt docker-compose.txt Dockerfile.txt

(dockerfile remove.txt) docker-compose(add .yml)

eginhard commented 1 month ago

It complains about a missing requirements.txt file, but no idea why. You could try installing our fork (package coqui-tts instead of TTS), which got rid of that file and is still maintained, so maybe it works.

kostas2370 commented 1 month ago

Hello eginhard ! I used your fork for my project and it worked fine ! ( Ned to work a bit more with requirements). Thank you !

stale[bot] commented 5 days ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.