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?
Anaconda supports Python 3.7, 3.8, 3.9 and 3.10.
Anaconda is distributed in two different installers: Anaconda2 default environment is Python 2.7. Anaconda3 default environment is Python 3.7.
To change your python version, you can now just type: conda install python=3.5. 0 # or maybe conda install python=2.7. 8 # or whatever you want....
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With