On Tue, 2007-08-14 at 02:10 +0000, Brisingman wrote: > > > On Aug 13, 9:14 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > On Tue, 2007-08-14 at 00:26 +0000, Brisingman wrote: > > > Hi, > > > > > Have 2 problems that may be related but definitely need resolution. > > > > > 1) Want to use my central library ( /home/me/bin) with Django in > > > different projects. Tried to import a module from this library in an > > > app view and got an import error. > > > > *How* are you running the code that is trying to do this? Via manage.py? > > Via apache? Some other way? > > Apache.
And that's the reason your .bashrc isn't being executed. Apached doesn't run as a sub-process of bash. Read the mod_python documentation (or the mod_python hints that come with Django) and you'll see how you can set the Python path. Regards, Malcolm -- If at first you don't succeed, destroy all evidence that you tried. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---