Re: virtualenv used with mod_wsgi

2010-09-16 Thread Jagdeep Singh Malhi
On Sep 16, 1:51 pm, Graham Dumpleton wrote: > Then that directory isn't where it is installed, or the permissions on > your directories are such that user that Apache runs as can't read > that directory. Post a 'ls -las' directory listing of your site- > packages directory and check that from th

Re: virtualenv used with mod_wsgi

2010-09-16 Thread Graham Dumpleton
Then that directory isn't where it is installed, or the permissions on your directories are such that user that Apache runs as can't read that directory. Post a 'ls -las' directory listing of your site- packages directory and check that from that directory up to your home directory is readable to

Re: virtualenv used with mod_wsgi

2010-09-16 Thread Jagdeep Singh Malhi
On Sep 16, 2:25 am, Graham Dumpleton wrote: > You need to add it to sys.path in WSGI script file. The PYTHONPATH > in .bashrc of your personal account isn't used by Apache/mod_wsgi. > > Graham i already use sys.path my WSGI script file is { import site site.addsitedir('/home/jagdeep/CMS/bin/lib/

Re: virtualenv used with mod_wsgi

2010-09-15 Thread Graham Dumpleton
You need to add it to sys.path in WSGI script file. The PYTHONPATH in .bashrc of your personal account isn't used by Apache/mod_wsgi. Graham On Sep 15, 10:46 pm, Jagdeep Singh Malhi wrote: > On Sep 15, 11:15 am, Colin Bean wrote:> Have you tried the > steps described > here:http://code.google

Re: virtualenv used with mod_wsgi

2010-09-15 Thread Jagdeep Singh Malhi
On Sep 15, 11:15 am, Colin Bean 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 l

Re: virtualenv used with mod_wsgi

2010-09-14 Thread Colin Bean
Have you tried the steps described here: http://code.google.com/p/modwsgi/wiki/VirtualEnvironments ? Colin On Tue, Sep 14, 2010 at 10:44 PM, Jagdeep Singh Malhi wrote: > I am try to use Multiple version of Django on same machine. > I am using the Virtual Python Environment builder (virtualenv 1.