First verify Django is being picked up from where you think it is by doing:
import django print django.__file__ Second, ensure that the installed Django files have permissions that would allow user that Apache may be running as to access it. That is, if Apache is running as a service and the Django files are only readable by you, it will not be able to load them. Graham On Jan 16, 1:48 pm, Scott <[EMAIL PROTECTED]> wrote: > 1234, > > Yes, with these directives: > > ------------ > <Location "/mysite"> > SetHandler python-program > PythonPath "['/Working/django','/Working/modules','/Working/ > projects','/Working/projects/mysite'] + sys.path" > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonHandlermod_python.testhandler > #PythonHandler django.core.handlers.modpython > PythonDebug On > </Location> > ------------ > > Here's the output for the 'sys.path': > > ------------ > Apache version Apache/2.2.3 (Red Hat) > Apache threaded MPM No (single thread MPM) > Apache forked MPM Yes, maximum 256 processes > Apache server root /etc/httpd > Apache document root /var/www/html > Apache error log /etc/httpd/logs/error_log (view last 100 lines) > Python sys.version 2.4.3 (#1, Dec 11 2006, 11:38:52) [GCC 4.1.1 > 20061130 (Red Hat 4.1.1-43)] > Python sys.path = > > /Working/django > /Working/modules > /Working/projects > /Working/projects/mysite > /usr/lib/python24.zip > /usr/lib/python2.4 > /usr/lib/python2.4/plat-linux2 > /usr/lib/python2.4/lib-tk > /usr/lib/python2.4/lib-dynload > /usr/lib/python2.4/site-packages > /usr/lib/python2.4/site-packages/Numeric > /usr/lib/python2.4/site-packages/gtk-2.0 > > Python interpreter name server.mysite.commod_python.publisher available > Yesmod_python.psp available Yes > ------------- > > Any thoughts? > > Scott > > On Jan 15, 6:39 pm, 1234 <[EMAIL PROTECTED]> wrote: > > > django is in your sys.path? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---