2 years ago
I am trying to host my Discord Bot on Railway. No matter what I do to try and fix it (including custom build commands and such), I always get this error.
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
Do you know what I can do to fix this? I am using Python for this project.
ⓘ Deployment information is only viewable by Project members and Railway admins.
5 Replies
2 years ago
Please attach your build logs -
2 years ago
I did get it to work but I had to remove logging from my dependencies (which I kind of don't want to do)
Attachments
2 years ago
Python 3.12.1
2 years ago
Railway doesn't support Python 3.12, so instead, add a runtime.txt file to your project with just 3.11 in it.