can anyone help us with this problem I am trying to deploy Django application on the railway but got an error /bin/bash: line 1: gunicorn: command not found
my gunicorn path
/usr/local/lib/python3.10/dist-packages
python path
['', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/root/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/dist-packages', '/usr/local/lib/python3.10/dist-packages/drupwn-1.0.3-py3.10.egg', '/usr/local/lib/python3.10/dist-packages/prompt_toolkit-2.0.7-py3.10.egg', '/root/droopescan', '/usr/lib/python3/dist-packages', '/usr/lib/python3.10/dist-packages']
I tried to add a path but I am not able to do it. Can anyone please help me to solve this problem?
echo $PATHfrom a bash session owned by the same user. Otherwise, you have two options: 1) add/usr/local/lib/python3.10/dist-packagestoPATH, or 2) change the command to start gunicorn to use the fully qualified path/usr/local/lib/python3.10/dist-packages/gunicorn.gunicornexecutable's path isn't in the PATH environment variable.PATH=$PATH:/usr/local/lib/python3.10/dist-packages. Depending on how the environment and execution are set up, you may needexport PATH=$PATH:/usr/local/lib/python3.10/dist-packages.