简体   繁体   中英

How do I upgrade python 2.7.8 to 2.7.9 in Anaconda without conflicting other components in its environment?

After successful installation of Anaconda on Windows 7 I realized the default Python version is 2.7.8. However I need 2.7.9. So how do I upgrade?

Unfortunately, you cannot update Python in the root environment of Anaconda on Windows. See https://stackoverflow.com/a/29238416/161801 .

Your anaconda installation ships its own package manager conda . You can use it for updating python packages and also the python interpreter.

To update the python interpreter in your default environment, all you have to do is executing the command below from command line:

conda update python

Install newest version of Anaconda from their website. This will upgrade your Anaconda and python as well. Also, uninstall the previous version of Anaconda.

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