Skip to content
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

🐛 [Bug]: My macOS is stuck at installing the requirements for more than 1000 Seconds #149

Open
prokemal2012 opened this issue Dec 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@prokemal2012
Copy link

prokemal2012 commented Dec 25, 2024

What happened?

While I was using this command:

docker build -t short_gpt_docker:latest .
docker run -p 31415:31415 --env-file .env short_gpt_docker:latest

I was stuck here:

=> [ 8/10] RUN pip install -r requirements.txt

Please find a fix, I have also used a Venv but still, it doesn't work

After sometime this was the error message that popped up:

655.4       error: can't find Rust compiler
655.4       
655.4       If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
655.4       
655.4       To update pip, run:
655.4       
655.4           pip install --upgrade pip
655.4       
655.4       and then retry package installation.
655.4       
655.4       If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
655.4       [end of output]
655.4   
655.4   note: This error originates from a subprocess, and is likely not a problem with pip.
655.4   ERROR: Failed building wheel for sudachipy
655.4 Successfully built pillow moviepy TTS gruut ffmpeg tinymongo progress encodec spacy srt bnnumerizer dtw-python jieba openai-whisper docopt gruut-ipa gruut_lang_de gruut_lang_en gruut_lang_es gruut_lang_fr
655.4 Failed to build sudachipy
655.4 ERROR: Could not build wheels for sudachipy, which is required to install pyproject.toml-based projects
655.4 
655.4 [notice] A new release of pip is available: 24.0 -> 24.3.1
655.4 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:24
--------------------
  22 |     
  23 |     # Install dependencies
  24 | >>> RUN pip install -r requirements.txt
  25 |     
  26 |     # Copy the local package directory content into the container at /app
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/6kp5n967rulxjfogmgrahq3pr
Unable to find image 'short_gpt_docker:latest' locally
docker: Error response from daemon: pull access denied for short_gpt_docker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

What type of browser are you seeing the problem on?

Chrome

What type of Operating System are you seeing the problem on?

Mac

Python Version

3.13

Application Version

0.1.3

Expected Behavior

The requirements would be installed and I would move on.

@prokemal2012 prokemal2012 added the bug Something isn't working label Dec 25, 2024
@chaitanyagiri
Copy link

Bumping this up as I am facing a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants