I am using Django version 0.97 (latest development version), Python
2.5, Apache 2.0.61 and mod_python 3.3.1.

I am getting the following mod_python error:
---------------------------------------------------------------
Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1202, in _process_target
    module = import_module(module_name, path=path)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
304, in import_module
    return __import__(module_name, {}, {}, ['*'])

ImportError: No module named django.core.handlers.modpython
---------------------------------------------------------------

modpython.py is in /usr/lib/python2.5/site-packages/django/core/
handlers.

My httpd.conf has this inside a <virtualhost>:

<Location "/mysite">
                PythonHandler django.core.handlers.modpython
                SetHandler python-program
                SetEnv DJANGO_SETTINGS_MODULE mysite.settings
                PythonInterpreter mysite
                PythonDebug On
                PythonPath "['/usr/lib/python2.5']"
</Location>


Can anyone point me in the right direction as to why I might be seeing
this problem?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to