Pip: command not found

piotrpomorski
PRO

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

6 Replies

8 months ago

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


piotrpomorski
PRO

8 months ago

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


piotrpomorski
PRO

8 months ago

ok I think I solved it


8 months ago

Glad you were able to solve!


Status changed to Solved brody 8 months ago


piotrpomorski

ok I think I solved it

akshatshaw
FREE

3 months ago

i am having same issue, can you help pls


Status changed to Open railway[bot] 3 months ago


bugmaker2
HOBBY

a month ago

I have the same problem