-
Notifications
You must be signed in to change notification settings - Fork 54
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
Docker-compose issue #29
Comments
I don't... the Dockerfile currently builds fine and stable-ts is the package that needs 'import stable_whisper'. Are you building the dockerfile or pulling it from dockerhub (via docker-compose)? My only guess if you're building it yourself could be non-amd64 architecture throwing issues. |
I'm pulling from docker-compose on a debian x64 VM.
…-------- Message d'origine --------
Le 14 nov. 2023, 17:30, McCloudS a écrit :
I don't... the Dockerfile currently builds fine and stable-ts is the package that needs 'import stable_whisper'. Are you building the dockerfile or pulling it from dockerhub (via docker-compose)? My only guess if you're building it yourself could be non-amd64 architecture throwing issues.
—
Reply to this email directly, [view it on GitHub](#29 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AMHSBCKBWA77T4W2YPD5JALYEOMB3AVCNFSM6AAAAAA7KVNYEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQGYZDGNBTGY).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
That doesn't appear to be a dockerfile/docker-compose issue but an issue when the script is actually executed on start. For whatever reason, that implies that the installation of stable-ts is failing. You can try manually doing Line 29 in 4db4046
|
After thinking more... I would guess your python packages are being saved in the wrong place or something. If you have a similar line to The default docker-compose requires you to update paths to match your configuration. |
I removed this line: same issue...
…-------- Message d'origine --------
Le 14 nov. 2023, 18:11, McCloudS a écrit :
After thinking more... I would guess your python packages are being saved in the wrong place or something. If you have a similar line to - "{APPDATA}/subgen/dist-packages:/usr/local/lib/python3.10/dist-packages" in your docker-compose, I would remove it.
—
Reply to this email directly, [view it on GitHub](#29 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AMHSBCONYCQO2JT6HNAAWZ3YEOQ5XAVCNFSM6AAAAAA7KVNYEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQG4YTQMZTGE).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Open up a bash/shell on the image and try manually installing the packages and see what's happening. You're failing on the first import of an installed package, which is either showing the install failed or it's not where it thinks it is. |
I'll try tomorrow and let you know, thanks!
…-------- Message d'origine --------
Le 14 nov. 2023, 18:18, McCloudS a écrit :
Open up a bash/shell on the image and try manually installing the packages and see what's happening. You're failing on the first import of an installed package, which is either showing the install failed or it's not where it thinks it is.
—
Reply to this email directly, [view it on GitHub](#29 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AMHSBCPKAV5D4B4XKEZLF3LYEORYBAVCNFSM6AAAAAA7KVNYEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQG4ZTGNZUGQ).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Spun up the same image on a different machine, fresh install. No errors. |
That's really weird, I tried with cpu or latest branches still the same:
|
My last guess would be that your container doesn't have a valid network configuration and/or internet connection. So when it tries to download the packages, they all fail, and so it can't import them. You could troubleshoot by watching the output of the script run on container start, or getting a shell and trying to install the packages manually. |
The container has Internet access and downloads the packages without problem. |
Thanks, just wish I knew what the problem was. I use the container in a couple different places and it has just under 900 downloads. |
Hello,
The Docker build does not seems to end, Here are the last lines of the logs:
Any idea ?
The text was updated successfully, but these errors were encountered: