简体   繁体   中英

Install new version over existing on Windows (upgrade)

我有Python 2.7.3并考虑安装新的2.7.5版本,但我找不到信息,如果它可以升级当前(并保持我的模块完好无损)或建议单独安装并重新安装我的所有模块一个一个(我不想做)?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM