I installed Django and started my project on a server running Plesk.
I've set up my vhost.conf as follows:

<Location "/mysite/">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        SetEnv DJANGO_SETTINGS_MODULE twinsister.settings
        PythonOption django.root /mysite
        PythonDebug On
        PythonPath "['/var/www/vhosts/twinsistermusic.com/django'] +
sys.path"
</Location>

Whenever I point my browser at twinsistermusic.com/mysite/ I get the
following error:

ImproperlyConfigured: Error loading MySQLdb module: No module named
MySQLdb

Now, I'm pretty sure I installed MySQLdb correctly, as I was able to
use syncdb with no problems and am able to import MySQLdb from within
the Python interpreter.  So, what gives?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to