how to upgrade python to 3.7 in conda code example Example 1: update python in miniconda conda install python=3.6 Example 2: update python in miniconda conda update python