a year ago
Hello Lords of Railway,
I'm freaking frustrated and unable to deploy a very simple Flask app… I was hoping for a quick deploy, show to my colleagues that I indeed work, going home and drink a beer. But no way I can get this done.
Any help from your side will be more than appreciated, I will drink more than one beer on your behalf.
Cheers!
#
Deploy log:
#
Preparing metadata (pyproject.toml): started
10 33.30 error: subprocess-exited-with-error
10 33.30 × Preparing metadata (pyproject.toml) did not run successfully.
10 33.30 │ exit code: 1
10 33.30 ╰─> [14 lines of output]
10 33.30 File "/opt/venv/lib/python3.10/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 353, in
10 33.30 File "/opt/venv/lib/python3.10/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 335, in main
10 33.30 File "/opt/venv/lib/python3.10/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 149, in preparemetadataforbuildwheel
#
requirements.txt
#
transformers
numpy
transformers
llama-index
llama-index-embeddings-huggingface
torch
sentence-transformers
flaskcors flasklogin
flaskseasurf bson groq python-dotenv flask==2.1.2 werkzeug==2.1.2 llamacpp_python==0.2.53
> ⓘ Deployment information is only viewable by Project members and Railway admins.
3 Replies
a year ago
Please attach your full build and deploy logs using this -
a year ago
Try adding this nixpacks.toml to your project -
[phases.setup]
nixPkgs = ['...', 'cmake']
Disclaimer, untested, since I have no way to test this.