2 years ago
This error came while deploying my project on Railway. The project is here (https://github.com/Hardik7843/Car-Price-Predictor.)
I am new to this platform. I would love to discuss what went wrong and solve this on my own.
ⓘ Deployment information is only viewable by Project members and Railway admins.
8 Replies
2 years ago
Please attach your full build logs -
2 years ago
#10 20.77 error: subprocess-exited-with-error
#10 20.77
#10 20.77 × Preparing metadata (pyproject.toml) did not run successfully.
#10 20.77 │ exit code: 1
#10 20.77 ╰─> [6 lines of output]
#10 20.77 Checking for Rust toolchain....
#10 20.77
#10 20.77 Cargo, the Rust package manager, is not installed or is not on PATH.
#10 20.77 This package requires Rust and Cargo to compile extensions. Install it through
#10 20.77 the system's package manager or via https://rustup.rs/
#10 20.77
#10 20.77 [end of output]
#10 20.77
#10 20.77 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 20.77 error: metadata-generation-failed
#10 20.77
#10 20.77 × Encountered error while generating package metadata.
#10 20.77 ╰─> See above for output.
#10 20.77
#10 20.77 note: This is an issue with the package mentioned above, not pip.
#10 20.77 hint: See above for details.
#10 20.78
#10 20.78 [notice] A new release of pip is available: 23.0.1 -> 24.0
#10 20.78 [notice] To update, run: pip install --upgrade 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/e183093b-6864-42d0-8bd8-5e74a2a7de66-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:
20.77 error: metadata-generation-failed
20.77
20.77 × Encountered error while generating package metadata.
20.77 ╰─> See above for output.
20.77
20.77 note: This is an issue with the package mentioned above, not pip.
20.77 hint: See above for details.
20.78
20.78 [notice] A new release of pip is available: 23.0.1 -> 24.0
20.78 [notice] To update, run: pip install --upgrade pip
Dockerfile:20
18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/e183093b-6864-42d0-8bd8-5e74a2a7de66-/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
2 years ago
Hey I am sorry for inconvenience. May I don't know how to use this bookmarklet extension. I tried all steps. but it's not working. That's why pasted as it is.
2 years ago
Tried that, as it says after opening deploy logs I have to click on bookmarklet. but it isn't downloading anything. it is just opening same page the as your given link.
2 years ago
Okay I am trying