Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install new version over existing on Windows (upgrade)

I have Python 2.7.3 and considering to install new 2.7.5 version, but I can't find information if it's possible to upgrade current (and keep my modules intact) or is it advised to install as separate and reinstall all my modules one by one (which I don't want to do)?

like image 734
user2136786 Avatar asked May 25 '13 14:05

user2136786


1 Answers

Just install Python2.7.5 over 2.7.3 and everything is fine. (I do that)

The folder where your libraries are installed to site-packages will be left untouched.

Also Python2.7.3 has the same c-Interface as Python2.7.5 so you will be able to use compiled modules as well.

I remember uninstalling Python and it deleted only the files it brought to my computer. All my programming work was left untouched.

If you really encounter issues that I do not know of, you can simply reinstall the older version.

The great thing about this is if you choose the advanced option to compile files, it will even go through your installed modules and compile them.

like image 129
User Avatar answered Sep 28 '22 07:09

User