Pip: command not found

piotrpomorskiPRO

6 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.

5 Replies

6 months ago

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


piotrpomorskiPRO

6 months ago

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


piotrpomorskiPRO

6 months ago

ok I think I solved it


6 months ago

Glad you were able to solve!


Status changed to Solved brody 6 months ago


piotrpomorski

ok I think I solved it

akshatshawFREE

10 days ago

i am having same issue, can you help pls


Status changed to Open railway[bot] 10 days ago