how can I solve this error

jhonyjassHOBBY

a year ago

10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

[stage-0 6/8] RUN --mount=type=cache,id=s/8149ab8a-cb63-4638-a414-ddb59b69f35a-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:

7.806 error: subprocess-exited-with-error

7.806

7.806 × Getting requirements to build wheel did not run successfully.

7.806 │ exit code: 1

7.806 ╰─> See above for output.

7.806

7.806 note: This error originates from a subprocess, and is likely not a problem with pip.

7.811

7.811 [notice] A new release of pip is available: 23.0.1 -> 24.0

7.811 [notice] To update, run: pip install --upgrade pip

Dockerfile:20

18 | ENV NIXPACKSPATH /opt/venv/bin:$NIXPACKSPATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/8149ab8a-cb63-4638-a414-ddb59b69f35a-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt

21 |

22 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

Error: Docker build failed

9 Replies

a year ago

Please attach your full build logs -

https://bookmarklets.up.railway.app/log-downloader/


jhonyjassHOBBY

a year ago

I can't understand how to do it


a year ago

Please follow the 3 steps listed on that page


jhonyjassHOBBY

a year ago

I am doing the steps it does not work


jhonyjassHOBBY

a year ago

ready

Attachments


jhonyjassHOBBY

a year ago

are you there


a year ago

Do not open duplicate threads, this is community support, be patient please.


jhonyjassHOBBY

a year ago

So how can I correct it?


a year ago

I would recommend switching to a pure Python MySQL client package.


how can I solve this error - Railway Help Station