R
Railway4mo ago
KiLo89

Deployment Failed during build process

I am getting Deployment failed, even though nothing has changed in my configuration recently. The two error messages in build log: math -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c numpy/core/src/multiarray/scalarapi.c -o build/temp.linux-x86_64-cpython-311/numpy/core/src/multiarray/scalarapi.o -MMD -MF build/temp.linux-x86_64-cpython-311/numpy/core/src/multiarray/scalarapi.o.d" failed with exit status 1 #10 267.6 ERROR: Failed building wheel for numpy I'm using Django 3.2.18 numpy 1.16.4 pandas 1.1.5 Any ideas why the build is failing? Thank you.
Solution:
try this - ```dockerfile FROM python:3.8-buster ENV PYTHONUNBUFFERED 1...
Jump to solution
67 Replies
Percy
Percy4mo ago
Project ID: da285e3a-b7b2-4c5a-a383-0e7f536ba2ac
KiLo89
KiLo894mo ago
Project ID: da285e3a-b7b2-4c5a-a383-0e7f536ba2ac
KiLo89
KiLo894mo ago
Brody, were you able to find anything in the logs that's causing the build to fail?
Brody
Brody4mo ago
I mean, you just sent them so I haven't looked yet, but you seem to assume I had already somehow read your logs before you sent them?
KiLo89
KiLo894mo ago
Ya sorryI though I sent you the log yesterday but somehow the logs were in limbo state on my computer
Brody
Brody4mo ago
what version of python do you use locally
KiLo89
KiLo894mo ago
Python 3.8.10
Brody
Brody4mo ago
can you try putting just 3.8 into a runtime.txt file in your project
KiLo89
KiLo894mo ago
I changed runtime.txt to just python 3.8 , did a git push to remote, where Railway picked up the push, but still getting deployment failed Here is the log,
KiLo89
KiLo894mo ago
Brody, is there anything else you want me to try?
Brody
Brody4mo ago
honestly, I'm stumped, at this point I'm gonna ask you to move to a Dockerfile based build
KiLo89
KiLo894mo ago
The build has been working for months, what has changed? I don't know what a Dockerfile based build is, can you provide some instructions?
Brody
Brody4mo ago
a Dockerfile based build would not be anything railway specific, so it would be of great help if you were able to familiarize yourself with the topics at hand
Want results from more Discord servers?
Add your server