Has Red Hat helped or hurt?
Grant Edwards
grante at visi.com
Wed May 8 09:24:29 EDT 2002
In article <4pbhdu4t69e6eqt3q3l4q72odo0c9ufo9p at 4ax.com>, Tim Roberts wrote:
> However, it makes it deucedly difficult to upgrade away from 1.52.
I've never had any problems. You can install the Python2
package from readhat, or you can do the normal install from
sources. Both worked fine for me. The former installs as
/usr/bin/python2 with libs in /usr/lib/python2.1. The latter
installs in /usr/local/.
> 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.
Leave /usr/bin/python alone so that those scripts still run
1.5.2.
> How have other people handled this?
I usually install Python 2.x in /usr/local and put
/usr/local/bin before /usr/bin in my PATH. Then I do
#!/usr/bin/env python
In my scripts.
--
Grant Edwards grante Yow! Have my two-tone,
at 1958 Nash METRO brought
visi.com around...
More information about the Python-list
mailing list