Getting the error Import Error No module named site
My uwsgi configuration goes as follows:

[uwsgi]


home = /usr/lib/python2.7

#plugins = http,python

socket = /tmp/web2py.socket

chmod-socket = 666

chown-socket = www:www

pythonpath = /Users/harshatanguturi/Documents/repos/web2py

#touch-reload = /Users/harshatanguturi/Documents/repos/web2py/wsgi.py

#chdir = /Users/harshatanguturi/Documents/repos/web2py

#module = wsgi.wsgi:application

mount = /=wsgihandler:application

processes = 4

master = true

harakiri = 60

reload-mercy = 8

cpu-affinity = 1

stats = /tmp/stats.socket

max-requests = 2000

limit-as = 512

reload-on-as = 256

reload-on-rss = 192

#uid = www

#gid = www

#cron = 0 0 -1 -1 -1 python /home/www-data/web2py/web2py.py -Q -S welcome 
-M -R scripts/sessions2trash.py -A -o

no-orphans = true

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to