How to fix broken pip?

python -m pip install --upgrade pip
pip install -r requirements.txt