Has Red Hat helped or hurt?

James J. Besemer jb at cascade-sys.com
Wed May 8 05:37:02 EDT 2002


Tim Roberts wrote:

> However, it makes it deucedly difficult to upgrade away from 1.52.  If one
> upgrades /usr/bin/python to be 2.x, all of Red Hat's custom configuration
> scripts are no longer found in site-packages.

Not having 1.52 the standard breaks a lot of stuff.

I could not get the latest Mailman to install with "python=python1.2".  All
sorts of "impossible" errors.  Took me a hell of a long time to figure out it
was chaning the python default that caused all the problems.

> Do you install Python 2.x into a
> separate directory and grumble every time you have to change the #! line in
> your scripts?

Yup.  I have separate complete installations of 1.5, 2.0 and now 2.1 and
explicitly refer to them.  It sucks but as rapidly as new releases come out I
don't see a better way.  I guess you only have to maintain your own scripts
pointing to the current release and whatever Linux wants.  The intermediate
ones can be gotten rid of if/when you know they're no longer needed.

If it's just YOU -- that is your own private scripts not ones you make
generally available, you can setup your path to grab the proper version of
python.  Then log in as somebody else to run the Linux sys admin stuff.

Regards

--jb

--
James J. Besemer  503-280-0838 voice
http://cascade-sys.com  503-280-0375 fax
mailto:jb at cascade-sys.com







More information about the Python-list mailing list