Install the new version over the existing one in Windows (update)

I have Python 2.7.3 and, given the installation of the new version 2.7.5, but I can’t find the information if it is possible to update the current one (and keep my modules intact) or it is recommended to install it as a separate one and reinstall all my modules one by one (what I do not want to do)?

+6
source share
1 answer

Just install Python2.7.5 on top of 2.7.3 and everything is fine. (I do it)

The folder in which your libraries are installed on site-packages will not remain untouched.

Python2.7.3 also has the same c-interface as Python2.7.5, so you can also use compiled modules.

I remember how to remove Python, and it only deleted the files that it cited to my computer. All my programming work has remained untouched.

If you are really facing issues that I don’t know about, you can simply reinstall the older version.

The great thing is that if you choose the advanced option for compiling files, it will even go through the installed modules and compile them.

+4
source

Source: https://habr.com/ru/post/945838/


All Articles