Error in pip install after removing
isntall
package
akramyamin
HOBBYOP

a year ago

Hi, I just removed the install package from my req.txt file then the build start failing.
Can you please help in resolving this issue?

Full logs: #10 18.73 mm.run()

10 18.73 File "/tmp/pip-build-env-auu3ocu/overlay/lib/python3.11/site-packages/setuptools/command/egginfo.py", line 540, in run

10 18.73 self.add_defaults()

10 18.73 File "/tmp/pip-build-env-auu3ocu/overlay/lib/python3.11/site-packages/setuptools/command/egginfo.py", line 578, in add_defaults

10 18.73 sdist.add_defaults(self)

10 18.73 File "/tmp/pip-build-env-auu3ocu/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 108, in adddefaults

10 18.73 super().add_defaults()

10 18.73 File "/tmp/pip-build-env-auu3ocu/overlay/lib/python3.11/site-packages/setuptools/distutils/command/sdist.py", line 238, in add_defaults

10 18.73 self.adddefaults_ext()

10 18.73 File "/tmp/pip-build-env-auu3ocu/overlay/lib/python3.11/site-packages/setuptools/distutils/command/sdist.py", line 323, in adddefaults_ext

10 18.73 self.filelist.extend(buildext.getsource_files())

10 18.73 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

10 18.73 File "", line 201, in getsourcefiles

10 18.73 File "/tmp/pip-build-env-auu3ocu/overlay/lib/python3.11/site-packages/setuptools/distutils/cmd.py", line 107, in getattr

10 18.73 raise AttributeError(attr)

10 18.73 AttributeError: cython_sources

10 18.73 [end of output]

10 18.73

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

10 18.74 error: subprocess-exited-with-error

10 18.74

10 18.74 × Getting requirements to build wheel did not run successfully.

10 18.74 │ exit code: 1

10 18.74 ╰─> See above for output.

10 18.74

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

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/64088cae-0299-49dd-a0ea-b102ea195f71-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:

18.73 [end of output]

18.73

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

18.74 error: subprocess-exited-with-error

18.74

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

18.74 │ exit code: 1

18.74 ╰─> See above for output.

18.74

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

Dockerfile:20

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

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/64088cae-0299-49dd-a0ea-b102ea195f71-/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

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

brody
EMPLOYEE

a year ago

Looks like your application is responding just fine now!


Loading...