conda upgrade python code example
Example 1: conda update pytorch
conda update pytorch torchvision -c pytorch
Example 2: update python in miniconda
conda install python=3.6
Example 3: How to update python using anaconda/conda
conda update python
conda update anaconda
conda install python=$pythonversion$
conda create --name py36 python=3.6
conda create --name py365 python=3.6.5 --channel conda-forge
Example 4: update python in miniconda
conda update python
Example 5: conda python update
conda install python= pythonversion