pip install upgrade pip -bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory code example
Example 1: pip upgrade
python -m pip install --upgrade pip
Example 2: pip upgrade command
pip install
python -m pip install --upgrade pip