Pip: command not found

piotrpomorski
PRO

10 months ago

Seems that even though I informed that both Node and Python are used, the container did not install python, why is that? How to config it best?

the custom starter is: cd flask && pip install -r requirements.txt && python app.py && npm run start
or possibly just: pip install -r ./flask/requirements.txt && python ./flask/app.py && npm run start

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

7 Replies

10 months ago

Hello, You rarely ever want to use cd in this context, please share your repo so we can advise further.


piotrpomorski
PRO

10 months ago

but even without cd it does not work, as if docker did not install python


piotrpomorski
PRO

10 months ago

ok I think I solved it


10 months ago

Glad you were able to solve!


Status changed to Solved brody 10 months ago


piotrpomorski

ok I think I solved it

akshatshaw
FREE

5 months ago

i am having same issue, can you help pls


Status changed to Open Railway 5 months ago


bugmaker2
HOBBY

3 months ago

I have the same problem


akshatshaw

i am having same issue, can you help pls

codvid-ai
FREE

2 months ago

me too