You haven't included the whole message from Apache error log. There
should be a warning there about Python mismatch. What is the message?

For mod_wsgi, did you actually compile it from source against Python
in /usr/local?

Run:

  ldd mod_wsgi.so

on the Apache mod_wsgi.so file.

If you did compile against your own Python, you likely haven't done
enough to ensure its shared library is used and so still using system
wide Python 2.7 shared library.

Need to see full messages from error log and ldd output to help further.

Graham

On 11 November 2011 06:08, Chip Burke <[email protected]> wrote:
> I should add I am using a non system Python install so have included
> this in the httpd.conf
>
> WSGIPythonHome /usr/local
>
>
> I tried adding:
>
> WSGIPythonPath /usr/local/lib/python2.7/site-packages
>
> but that changed nothing.
>
> When I add 'import cherrypy' to the Hello World, it finds the package.
>
> On Nov 10, 1:52 pm, Chip Burke <[email protected]> wrote:
>> I *think* I have everything working correctly as the Hello World
>> script on the INstallProblem page is now loading. However, I am
>> getting a ton of errors in the Apache logs like this:
>>
>> [Thu Nov 10 13:45:06 2011] [error] sys.prefix = '/usr/local'
>> [Thu Nov 10 13:45:06 2011] [error] sys.path = ['/usr/local/lib/
>> python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/usr/local/lib/
>> python2.7/site-packages/pip-0.8.2-py2.7.egg', '/usr/local/lib/
>> python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/
>> plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/
>> python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/
>> local/lib/python2.7/site-packages']
>>
>> How do I fix this?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to