
I am trying to follow the tutorial at http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html . I got everything that works, tohttp: //uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html#install-uwsgi-system-wide. I am working with an ubuntu 14.4 instance on amazon EC2:
Without going into my virtualenv, I ran:
sudo pip install uwsgi
This led to
Then I ran:
ubuntu@ip-172-31-28-196 :~$ uwsgi --ini /home/ubuntu/tproxy/tp/mysite_uwsgi.ini [uWSGI] getting INI configuration from /home/ubuntu/tproxy/tp/mysite_uwsgi.ini *** Starting uWSGI 2.0.9 (64bit) on [Fri Mar 6 16:15:07 2015] *** compiled with version: 4.8.2 on 06 March 2015 16:10:06 os: Linux-3.13.0-44-generic
Where
ImportError: No module named site on Ubuntu
and how can i fix it?
source share