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.
67 Replies
Project ID:
da285e3a-b7b2-4c5a-a383-0e7f536ba2ac
Project ID: da285e3a-b7b2-4c5a-a383-0e7f536ba2ac
full build logs please - https://bookmarklets.up.railway.app/log-downloader/
Brody, were you able to find anything in the logs that's causing the build to fail?
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?
Ya sorryI though I sent you the log yesterday but somehow the logs were in limbo state on my computer
what version of python do you use locally
Python 3.8.10
can you try putting just
3.8
into a runtime.txt file in your projectI 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,
Brody, is there anything else you want me to try?
honestly, I'm stumped, at this point I'm gonna ask you to move to a Dockerfile based build
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?
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