Re: django.core.handlers.wsgi not found

2012-02-06 Thread larry.mart...@gmail.com
On Feb 5, 4:13 pm, "larry.mart...@gmail.com" wrote: > On Feb 5, 4:05 pm, Dennis Lee Bieber wrote: > > > > > > > > > On Sun, 5 Feb 2012 14:08:52 -0800 (PST), "larry.mart...@gmail.com" > > > wrote: > > > >It's exactly the same sys.path I get from command line python, where > > >the import works.

Re: django.core.handlers.wsgi not found

2012-02-05 Thread larry.mart...@gmail.com
On Feb 5, 4:05 pm, Dennis Lee Bieber wrote: > On Sun, 5 Feb 2012 14:08:52 -0800 (PST), "larry.mart...@gmail.com" > > wrote: > > >It's exactly the same sys.path I get from command line python, where > >the import works. > >         NO IT ISN'T! > > > > >['/usr/lib/python2.6/site-packages/python_da

Re: django.core.handlers.wsgi not found

2012-02-05 Thread larry.mart...@gmail.com
On Feb 4, 9:52 pm, BlackKnight wrote: > http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives > > have you added this in apache conf, > > > SetHandler wsgi-script > Options ExecCGI > No, I do not have that, but I do have: WSGIScriptAlias / /usr/local/myapp/scripts/myapp.wsgi Which is

Re: django.core.handlers.wsgi not found

2012-02-05 Thread larry.mart...@gmail.com
On Feb 4, 7:47 pm, Brett Epps wrote: > Sometimes it can help to print sys.path in your WSGI file.  (The output > should end up in the apache error log.)  That should tell you where Python > is looking for modules.  If the Django install path is not listed, you may > need to reinstall Django. It's

Re: django.core.handlers.wsgi not found

2012-02-05 Thread BlackKnight
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives have you added this in apache conf, SetHandler wsgi-script Options ExecCGI On Feb 5, 5:53 am, "larry.mart...@gmail.com" wrote: > I am trying to deploy my django app on a newly setup CentOS box. I > have successfully deployed it o

Re: django.core.handlers.wsgi not found

2012-02-04 Thread Brett Epps
Sometimes it can help to print sys.path in your WSGI file. (The output should end up in the apache error log.) That should tell you where Python is looking for modules. If the Django install path is not listed, you may need to reinstall Django. How was Django installed originally? Brett On 2