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

/bin/sh -c pip install --no-cache-dir -r /code/requirements.txt --timeout 100 #451

Closed
michaelgena opened this issue Jul 2, 2023 · 1 comment

Comments

@michaelgena
Copy link

I'm using v.0.0.26

When running the following command: docker compose -f docker-compose.yml up --build
I get this error:
#0 29.79 Collecting click-log<1,>=0.3 (from python-semantic-release==7.33.2->supabase==1.0.3->-r /code/requirements.txt (line 8))
#0 29.81 Downloading click_log-0.4.0-py2.py3-none-any.whl (4.3 kB)
#0 29.95 Collecting gitpython<4,>=3.0.8 (from python-semantic-release==7.33.2->supabase==1.0.3->-r /code/requirements.txt (line 8))
#0 29.96 Downloading GitPython-3.1.31-py3-none-any.whl (184 kB)
#0 29.97 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.3/184.3 kB 83.7 MB/s eta 0:00:00
#0 30.06 Collecting invoke<2,>=1.4.1 (from python-semantic-release==7.33.2->supabase==1.0.3->-r /code/requirements.txt (line 8))
#0 30.08 Downloading invoke-1.7.3-py3-none-any.whl (216 kB)
#0 30.09 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.4/216.4 kB 91.9 MB/s eta 0:00:00
#0 30.15 Collecting semver<3,>=2.10 (from python-semantic-release==7.33.2->supabase==1.0.3->-r /code/requirements.txt (line 8))
#0 30.18 Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
#0 30.25 Collecting twine<4,>=3 (from python-semantic-release==7.33.2->supabase==1.0.3->-r /code/requirements.txt (line 8))
#0 30.26 Downloading twine-3.8.0-py3-none-any.whl (36 kB)
[+] Building 41.8s (12/14)
=> [internal] load .dockerignore 0.1s
=> => transferring context: 109B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 845B 0.0s
=> [internal] load metadata for docker.io/library/node:18-alpine 2.3s
=> [internal] load build context 0.1s
=> => transferring context: 26.34kB 0.0s
=> [ 1/10] FROM docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb 0.0s
=> CACHED [ 2/10] RUN apk add --update --no-cache python3 make g++ && ln -sf python3 /usr/bin/python 0.0s
=> CACHED [ 3/10] RUN python3 -m ensurepip 0.0s
=> CACHED [ 4/10] RUN pip3 install --no-cache --upgrade pip setuptools 0.0so => CACHED [ 5/10] RUN mkdir -p /app 0.0s
=> CACHED [ 6/10] WORKDIR /app 0.0ss => CACHED [ 7/10] COPY package*.json yarn.lock ./ 0.0s
=> CANCELED [ 8/10] RUN yarn install 39.3s
failed to solve: process "/bin/sh -c pip install --no-cache-dir -r /code/requirements.txt --timeout 100" did not complete successfully: exit code: 1

What could be the reason? Thanks for your help.

@michaelgena
Copy link
Author

I found a workaround for this, I had to go through the requirements.txt file and install manually some of the libraries.
Ex: python3 -m pip install tiktoken==0.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant