Wednesday, June 2, 2010

Re: Unable to import libxml2mod from the python script



On Thu, Jun 3, 2010 at 1:26 PM, Graham Dumpleton <graham.dumpleton@gmail.com> wrote:

>
> Are you running your django app under mod_wsgi? It may not running with your
> interpreter in your #! line.
>
> Try using
> import sys; print sys.executable
> in your wsgi file to find out the exact interpreter your wsgi server is
> using.

No it will not. Under mod_python and mod_wsgi that is usually going to
be 'httpd' executable.

More important value is 'sys.prefix', plus running 'ldd' on the .so
file for the Apache module.

Graham


Oops, sorry about giving out wrong instructions.



--
simple is good
http://brucewang.net
http://twitter.com/number5

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment