R
Railway5mo ago
wizi

nixpacks build fail

I am trying to deploy my python script but keep getting this message. Please help
No description
12 Replies
Percy
Percy5mo ago
Project ID: N/A
wizi
wizi5mo ago
Project id 98ca37bf-bc1a-4bd1-b162-d412e41a4cc6
Brody
Brody5mo ago
try renaming it to main.py
wizi
wizi5mo ago
that works. thank you so much. I am pretty new to python & Railway. The deployment was ok but How can I install these modules?
wizi
wizi5mo ago
No description
wizi
wizi5mo ago
i did put "pip install langchain flask openai twilio beautifulsoup4" into the start command under Deploy settings
Brody
Brody5mo ago
remove that command please, then watch this video https://www.youtube.com/watch?v=oLlT6c6jA-M
wizi
wizi5mo ago
hi. I followed the instruction and created requirements.txt, readme.md but i am getting this error. Anyway to fix it? thank you
wizi
wizi5mo ago
No description
Brody
Brody5mo ago
looks like you need a runtime.txt file with 3.9 in it
wizi
wizi5mo ago
do you have any instruction on how to do this?
Brody
Brody5mo ago
make a file named runtime.txt and put 3.9 in it