python - Gunicorn ImportError: No module named -


i having issue running gunicorn django project. when run:

gunicorn superlists.wsgi:application  

from command line get

importerror: no module named 'superlists' 

if follow django documentation at: https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/gunicorn/

it says command “gunicorn myproject.wsgi:application” requires project on python path; simplest way ensure run command same directory manage.py file.

so took recommendation of python docs , ran directory has manage.py… same thing..

i “do” have python module name superlists in directory has manage.py , have wsgi file , application attribute.

so here questions: assume receiving error because module superlists not in python path. correct?

if shouldn't module in python path if run directory manage.py… django docs recommend?

if not there else need superlists python path?

btw using virtualenv , have check virtualenv using correct python , gunicorn files...

found it. trying start gunicorn "superlists" application superlist" no "s"...... replys


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -