thanks for your reply WB. 

I was hoping to avoid virtualenv. My webapp is a frontend to a vulnerability 
scanner in a large corporation.
They are very picky about what I can use and what I can't. Is virtualenv 
suitable for such a production system?
They insist that I cannot use mod_wsgi (it annoys me intensely, but hey that's 
life) and HAVE to use mod_python.
Is there any other way to get this working without virtualenv?

I also have no choice about OS. rhel6 is undergoing an approval process as an 
SOE but it won't happen any time soon :(

I am so close to getting this working now but it does indeed look like django 
(httpd) is using python2.4.
Note that "which python" gives me 2.7 - what is causing django to use python & 
mod_python 2.4? mod_python is installed for 2.7.

Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in 
HandlerDispatch
    log=debug)
  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in 
import_module
    f, p, d = imp.find_module(parts[i], path)
ImportError: No module named django

thanks for your help.
cheers Dave

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/85c41d50-e41e-4c2f-9951-59c020038cd9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to