Gunicorn: command not found
franklinson
FREEOP

10 months 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

0 Replies

franklinson
FREEOP

10 months ago

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


uxuz
MODERATOR

10 months 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
FREEOP

10 months ago

@uxuz I have taken a look already


brody
EMPLOYEE

10 months 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
FREEOP

10 months ago

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


brody
EMPLOYEE

10 months ago

screenshot please


franklinson
FREEOP

10 months ago

1340302527790579700


franklinson
FREEOP

10 months ago

@Brody


brody
EMPLOYEE

10 months ago

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


brody
EMPLOYEE

10 months ago

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


franklinson
FREEOP

10 months ago

@Brody here please

1340306454502178800


brody
EMPLOYEE

10 months ago

please share your repo.

no need for tags 🙂


franklinson
FREEOP

10 months ago

My repo is private


brody
EMPLOYEE

10 months ago

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


franklinson
FREEOP

10 months ago


brody
EMPLOYEE

10 months ago

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


brody
EMPLOYEE

10 months ago

plural


franklinson
FREEOP

10 months ago

Oh okay. Lemme make that change


franklinson
FREEOP

10 months ago

What could be the reason here @Brody

1340310380798410800


brody
EMPLOYEE

10 months ago

no need for the pings


franklinson
FREEOP

10 months ago

I didnt catch that


brody
EMPLOYEE

10 months ago

no need to tag me @brody


franklinson
FREEOP

10 months ago

Oh okay….but any help on the error?


brody
EMPLOYEE

10 months ago

please provide your full logs -


franklinson
FREEOP

10 months ago

Was able to resolve it


brody
EMPLOYEE

10 months ago

awesome! what was wrong?


franklinson
FREEOP

10 months ago

I was having double python service


brody
EMPLOYEE

10 months ago

Ah you had python in your providers twice


brody
EMPLOYEE

10 months ago

!s


Status changed to Solved brody 10 months ago


Loading...