How to change python version in Anaconda?

I am trying to get into deep learning. I installed Anaconda to use jupyter and generally not to care about installing all of those packages like matplotlib etc myself. But I cannot install tensorflow as it works only with Python 3.4, 3.5, or 3.6 but I have 3.7. After I read about it I installed python 3.6.8. I uninstalled Anaconda and installed it again, nothing changed. After that, I used this command

conda install python=3.6.8

to presumably install python 3.6.8 for it (I found this solution somewhere on the web). The command worked but didn’t change anything. Please help

Answer

A better (recommended) alternative is to create a virtual environment of the desired Python version and then use that environment to run Tensorflow and other scripts.

To do that, you can follow the instructions given here.

BUT, if you don’t want to create a separate environment, then conda install python=<version> should do.

OR (not recommended) you can download the “latest” Anaconda installer with your required Python version bundled.

Source