install pip anaconda prompt code example Example: how to install pip in anaconda python -m pip install --upgrade pip