Question about Python upgrade on linux

Jeff McNeil jeff at jmcneil.net
Thu Jul 15 14:19:31 EDT 2010


On Jul 15, 11:54 am, guandalino <guandal... at gmail.com> wrote:
> Hi, suppose I have python 2.6.4 installed from source and I want to
> upgrade to 2.6.5. Python standard library is automatically upgraded at
> 2.6.5 as well, while 3rd party pure Python and extension modules in
> site-packages don't. Is it safe to keep the old site-packages or is it
> suggested to reinstall modules and/or recompile extensions using the
> new Python?
>
> And to upgrade from 2.6 to 2.7?
>
> Thanks,
> best regards.

Going from 2.6.4 to 2.6.5 ought to be fine (consider the /usr/lib/
python2.x/ naming, and not /usr/lib/python2.x.y naming).When Going
from 2.6 to 2.7, you're better off reinstalling your extensions.

Thanks,

Jeff
http://www.jmcneil.net



More information about the Python-list mailing list