Updating Anaconda's root Python to newer minor version on Windows does nothing

泪湿孤枕 提交于 2019-12-03 19:58:08

问题


I have an Anaconda (not miniconda) Python 2.7 install on Windows. I would like to update the version of Python installed to the latest minor version (2.7.9), which I see is available in the channels that conda is configured to use. However, typing conda update python basically says:

# All requested packages already installed.
# packages in environment at C:\Anaconda:
#
python                    2.7.5                         2

How does one update to another minor version of Python on Windows? I guess that since conda is written in Python and Windows does not let you overwrite or delete open files, that might be slightly difficult to do on Windows... But is it possible?


回答1:


You are right that Windows won't let conda update Python in the root environment. The only option is to create a new environment with conda create. Otherwise, for now, you will have to reinstall Anaconda to update the root environment Python. We are working on a way to update Python in the root environment, but it isn't finished yet.



来源:https://stackoverflow.com/questions/29220236/updating-anacondas-root-python-to-newer-minor-version-on-windows-does-nothing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!