I am using virtualenv 1.5 to install multiple version of django in same PC. My Django is works fine with virtualenv, follow this link http://pypi.python.org/pypi/virtualenv#downloads but me face problem with MySQLdb when i configure the database in setting.py file.
Error is : ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb but MySQLdb is already installed in my PC and work fine without using virtualenv. I face this problem, when i use Virtual Python Environment builder(virtualenv 1.5) for multiple pythons. My django mod_wsgi file is :- { import site site.addsitedir('/home/jagdeep/CMS/ENV/lib/python2.6/site-packages') import os import sys os.environ['DJANGO_SETTINGS_MODULE'] = 'djangocms.settings' sys.path.append('/home/jagdeep/') import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() } Please help. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.