conda upgrade code example
Example 1: conda update package
# Basic syntax:
conda update packagename # To update specific package in the current env
conda update --all # To update all packages in the current environment
conda update -n myenv --all # To update all packages in myenv environment
Example 2: update conda command
conda update conda
Example 3: conda update
conda update --all
Example 4: conda python update
conda install python= pythonversion