On 7/12/06, Steve <[EMAIL PROTECTED]> wrote: > > Nevermind, I figured it out. Gosh I get smarter just by writing to > this group :) > > All I had to do was add the local path of MySQLdb to my .fcgi file > under my web root directory. So: > sys.path += ['/homedir/pythondir'] > > This is a common mistake I've seen a number of times in this list. Remember that the .bash_profile is for a specific user (you) and Apache/mod_python/fcgi is (usually) running under a different user so those processes will never see settings in your .bash_profile. The solution (as you discovered) is to add the appropriate settings to your fcgi/mod_python settings.
-- ---- Waylan Limberg [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---