Error setting sys.path & friends on RedHat Linux 5.2, Python 1.5.1?

Ivan Van Laningham ivanlan at callware.com
Mon May 10 18:00:49 EDT 1999


Hi All--

Skip Montanaro wrote:
> 

[snippage]

> 
> /usr/bin/python prints #1 for the build number:
> 
>   Python 1.5.1 (#1, Sep  3 1998, 22:51:17)
> 
> while my version prints build number 61.  It's evident that my version
> is getting executed, but everything else is wrong.  Is this a known
> 1.5.1 problem?  If so, is it fixed in 1.5.2?
> 

I had problems with this setup too.  I didn't find an answer, although
someone with RedHat could probably explain.  The only way I fixed it was
to build 1.5.2 with the prefix /usr instead of /usr/local.  At least I
think that's right--look at configure, and determine what the default
prefix is.  Running make install with the right prefix installs it into
exactly the same locations as RedHat, & it all works fine now.

There's no reason that I can see to keep 1.5.1 around.

<but-better-people-than-me-been-bit-i'm-sure>-ly y'rs,
Ivan
----------------------------------------------
Ivan Van Laningham
Callware Technologies, Inc.
ivanlan at callware.com
http://www.pauahtun.org
See also: 
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps:  Cu Chi, Class of '70
----------------------------------------------




More information about the Python-list mailing list