Flask app: "Preparing metadata (pyproject.toml) did not run successfully."
ralarconm
TRIALOP

2 years 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/pyproject_hooks/_in_process/_in_process.py", line 353, in

#10 33.30 File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main

#10 33.30 File "/opt/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel

################################

requirements.txt

################################

transformers

numpy

transformers

llama-index

llama-index-embeddings-huggingface

torch

sentence-transformers

flask_cors

flask_login

flask_seasurf

bson

groq

python-dotenv

flask==2.1.2

werkzeug==2.1.2

llama_cpp_python==0.2.53

View Deploy details

> ⓘ Deployment information is only viewable by Project members and Railway admins.

3 Replies

2 years ago

Please attach your full build and deploy logs using this -

https://bookmarklets.up.railway.app/log-downloader/


ralarconm
TRIALOP

2 years ago

Here the log

Attachments


2 years ago

Try adding this nixpacks.toml to your project -

[phases.setup]
  nixPkgs = ['...', 'cmake']

Disclaimer, untested, since I have no way to test this.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...