python command not found
midnightxander
HOBBYOP

a year ago

trying to deploy my project on railway but it crashes with this error "/bin/bash: line 1: python: command not found" i have a package-lock.json file created from adding tailwind-css and linkify-js to the project i don't if it causes any issue

my repo: https://github.com/midnightXander/roleplayverse/tree/railway_deployment

View Deploy details

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

Solved

5 Replies

midnightxander
HOBBYOP

a year ago

project id: 7ddd3c81-fac5-417d-a3e7-0cf4370b772d


brody
EMPLOYEE

a year ago

You have a package-lock file and thus your project is being treated as a Node project.

Try adding python to the providers in the service settings.


Status changed to Awaiting User Response Railway about 1 year ago


midnightxander
HOBBYOP

a year ago

i added python to the providers and now there is this error during the building process "Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully."


Status changed to Awaiting Railway Response Railway about 1 year ago


brody

You have a package-lock file and thus your project is being treated as a Node project.Try adding python to the providers in the service settings.

midnightxander
HOBBYOP

a year ago

i added python to the providers and now there is this error during the building process "Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully."


midnightxander

i added python to the providers and now there is this error during the building process "Building wheel for twisted-iocpsupport (pyproject.toml) did not run successfully."

midnightxander
HOBBYOP

a year ago

ok so i fixed this by removing the twisted-iocpsupport package from requirements.txt as it is not compatible with python 3.11


Status changed to Solved brody about 1 year ago


Loading...