pip update anaconda code example
Example 1: anaconda python update packages
conda update --all
Example 2: how to update pip in anaconda prompt
python -m pip install --upgrade pip
conda update --all
python -m pip install --upgrade pip