Re: changing apache mod python

2009-07-07 Thread Andrew Fong
Something else just crossed my mind as well. The issue, AFAIK, is that older versions of Ubuntu / Python 2.5 stored third-party libraries (e.g. stuff you easy_install) in /usr/lib/python2.5/site-packages. With the upgrade to Ubuntu 9.04 / Python 2.6, these packages are now stored in /usr/lib/pytho

Re: changing apache mod python

2009-07-07 Thread Andrew Fong
Don't know if you tried this already, but the Ubuntu 9.04 Release Notes mention something about this: http://www.ubuntu.com/getubuntu/releasenotes/904#python%20ImportError%20with%20systems%20upgraded%20before%20Ubuntu%209.04%20release%20candidate """ A bug in the python packages present in jaunt

Re: changing apache mod python

2009-07-07 Thread Miguel
Thank you Aaron. I will try to follow your pieces of advices. Fortunately it is not my production enviroment. Miguel On Thu, Jul 2, 2009 at 12:47 AM, Aaron Maxwell wrote: > > Hm. It involves this module Deportista. I haven't heard of it, so I'm > assuming it's either a third-party library yo

Re: changing apache mod python

2009-07-01 Thread Aaron Maxwell
Hm. It involves this module Deportista. I haven't heard of it, so I'm assuming it's either a third-party library you are using, or one a module made in house. You might try this: (assuming unixy environment) 1) At a shell prompt, set PYTHONPATH to the value you included in the attached erro

Re: changing apache mod python

2009-06-30 Thread Aaron Maxwell
On Monday 29 June 2009 12:09:58 pm Miguel wrote: > Hi all, > > I made an mistake of upgrading ubuntu to the last version. This new version > is running python 2.6 and it has also install the mod python for apache > linked to this python version. All my code is running django 0.96 with > python 2.5