Gunicorn: command not found
franklinson
PROOP

a year ago

Hello
I have been trying to deploy my Django project and tried all I can but keep getting gunicorn: command not found despite the fact that I have it in my requirements.txt file. Any help here?

Solved

29 Replies

franklinson
PROOP

a year ago

ffd4513c-7d4a-4c7e-859c-5b791536329b


a year ago

Railway has a template and documentation regarding django. Please take a look at them if you haven't already.

Docs: https://docs.railway.com/guides/django#deploy-django-app-on-railway
Template: https://railway.com/template/GB6Eki


franklinson
PROOP

a year ago

@uxuz I have taken a look already


a year ago

very likely they have a package-lock.json in their repo and nixpacks is detecting it as a node app.

try adding python to the list of providers in the service settings


franklinson
PROOP

a year ago

Yes I have that @Brody the python in the service provider


a year ago

screenshot please


franklinson
PROOP

a year ago

1340302527790579700


franklinson
PROOP

a year ago

@Brody


a year ago

please only provide native screenshots, no pictures of computer screens here please


a year ago

send me the build table at the top of your build logs please


franklinson
PROOP

a year ago

@Brody here please

1340306454502178800


a year ago

please share your repo.

no need for tags 🙂


franklinson
PROOP

a year ago

My repo is private


a year ago

we would need to see the repo in order to help you here


franklinson
PROOP

a year ago


a year ago

you have it named requirement.txt, the proper name is requirements.txt


a year ago

plural


franklinson
PROOP

a year ago

Oh okay. Lemme make that change


franklinson
PROOP

a year ago

What could be the reason here @Brody

1340310380798410800


a year ago

no need for the pings


franklinson
PROOP

a year ago

I didnt catch that


a year ago

no need to tag me @brody


franklinson
PROOP

a year ago

Oh okay….but any help on the error?


a year ago

please provide your full logs -


franklinson
PROOP

a year ago

Was able to resolve it


a year ago

awesome! what was wrong?


franklinson
PROOP

a year ago

I was having double python service


a year ago

Ah you had python in your providers twice


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...