On Oct 18, 8:33 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/17/07, Michael Newman <[EMAIL PROTECTED]> wrote:
> ...
>
>
>
> > ImportError: No module named django.core.handlers.modpython
>
> ...
> > my conf file is a basic:
>
> > <Location "/videoUploader">
> >     SetHandler python-program
> >     PythonHandler django.core.handlers.modpython
> >     SetEnv DJANGO_SETTINGS_MODULE videouploader.settings
> >     PythonDebug On
> >     PythonPath "['/home/django/myapp']+sys.path"
> > </Location>
>
> > can anyone see the stupid mistake that I am making?
>
> Make sure that the sys.path for the python Apache's user has Django on
> the sys.path and that it has permissions to execute all the
> directories up to it.

In particular, since mod_python is using Python from /usr/local/lib/
python2.5, ensure that it was this version of Python you installed
Django for and not one in /usr/lib/pythonX.Y.

Graham


--~--~---------~--~----~------------~-------~--~----~
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