How to upgrade python from 2.3 to 2.4

yinglcs at gmail.com yinglcs at gmail.com
Fri Apr 20 10:42:42 EDT 2007


On Apr 20, 3:21 am, Ramashish Baranwal <ramashish.li... at gmail.com>
wrote:
> On Apr 20, 2:03 am, "ying... at gmail.com" <ying... at gmail.com> wrote:
>
> > Hi,
>
> > Red hat 4 comes with python 2.3, and I am trying to upgrade to python
> > 2.4. So I download and compile the source of python2.4.
>
> > But as I run it I get the following error, can you please tell me how
> > to fix it?
>
> > # /root/src/Python-2.4.4/python ./nov/scripts/stressTestServlet.py ./
> > nov/scripts/stressTestInputFile 10 127.0.0.1
> > Traceback (most recent call last):
> >   File "./nov/scripts/stressTestServlet.py", line 6, in ?
> >     import time
> > ImportError: No module named time
>
> The best way to do it will be to use your operating system package
> manager. If you have yum (a package manager for red hat distributions)
> installed, it might be as simple as-
>
> # yum update python
>
> HTH
> Ram

I don't have yum. So I download and compile python. So how can I run
the python in the new version?




More information about the Python-list mailing list