How to Solve Error handling after upgrade pip of Anaconda

anaconda After upgrading conda , conda update –all pip reports the following error.
Error: ImportError: cannot import name ‘SCHEME_KEYS’
Error: ModuleNotFoundError: No module named ‘pip._internal.models.scheme’
Handling.

Forced reinstallation

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py --force-reinstall

Read More: