Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
287, in HandlerDispatch
    log=debug)

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
457, in import_module
    module = imp.load_module(mname, f, p, d)

  File "/home/django/django/core/handlers/modpython.py", line 1, in ?
    from django.core.handlers.base import BaseHandler

  File "/home/django/django/core/handlers/base.py", line 2, in ?
    from django.dispatch import dispatcher

  File "/home/django/django/dispatch/dispatcher.py", line 28, in ?
    from __future__ import generators

ImportError: No module named __future__


I've setup Django before without major problems, but I'm setting it up
on another personal server, and for some reason this time I get this
error message.  when the httpd.conf -> PythonPath has sys.path
included, it can only be included by putting it in the single quotes as
such 'sys.path',   When I add it as    sys.path +   it tells me it
can't find the django module.  Any ideas?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to