Greg,

Thank you again. This is very informative.

"which python" returns

/usr/local/bin/python

which is the location of python2.5

I restarted Apache several times using "/etc/init.d/httpd restart",
including a hard reboot of the server.

I originally recompiled Python from source using:
  ./configure
  make
  make install

I run "/sbin/ldconfig -v" and restarted Apache again. Still showing
the same python2.4 exception when I run the application.
I am not sure what to put in ld.so.config. I saw a couple of
references to python2.4 libs while in verbose mode of running
ldconfig.

Thanks,
rolly

On May 7, 11:18 am, "Greg Donald" <[EMAIL PROTECTED]> wrote:
> On 5/7/07, RollyF <[EMAIL PROTECTED]> wrote:
>
> > [EMAIL PROTECTED] ~]$ python
> > Python 2.5.1 (r251:54863, May  4 2007, 14:56:43)
>
> Seems like the correct Python is in your path already.
>
> > [EMAIL PROTECTED] ~]$ $PATH
> > -bash: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/rxferoli/
> > bin: No such file or directory
>
> echo $PATH is probably what you want.
>
> > [EMAIL PROTECTED] ~]$ whereis python
>
> whereis just consults the locate database.  Try `which python`
> instead, it searches your PATH.
>
> > I am a linux and python newbie so I appreciate this hand-holding for
> > now. I am a bit confused. The sys.path is showing no signs of
> > python2.4, the $PATH is fist listing /usr/local/bin where python2.5 is
> > located; but whereis is definitely showing python2.4 first. Where
> > should I go to adjust this?
>
> If you want to rely on whereis you have to make sure your locate
> database is up to date.  Run `updatedb` when in doubt.
>
> Some other things to check:
>
> Did you restart Apache?
>
> Are you compiling a new Python from source?  If so did you add the
> Python libs path to your ld.so.config?  Did you run ldconfig?
>
> --
> Greg Donaldhttp://destiney.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to