On Sep 15, 11:15 am, Colin Bean <ccb...@gmail.com> wrote:
> Have you tried the steps described 
> here:http://code.google.com/p/modwsgi/wiki/VirtualEnvironments?
>
now i try this i  found error :
raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module:
No module named MySQLdb

But its  MySQLdb installed.
but its not on python path. i read this post
http://groups.google.com/group/django-users/browse_thread/thread/5c9028b293144f92/3b923c3f1abf5ebe

 In this post i found the solution, but not understand this
{
export PYTHONPATH=/dir/where/mysqldb/lives:$PYTHONPATH

Placing that in the file '.bashrc' in your home directory will cause
it to be set automatically for you any time you open up a shell.
}

me add this line in .bashrc file like
export PYTHONPATH=/dir/where/mysqldb/lives:$/home/jagdeep/CMS/ENV/bin/
python

Is this correct?
my python path :/home/jagdeep/CMS/ENV/bin/python

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

Reply via email to