pip2 install --upgrade pip code example Example: pip install --upgrade # That line of shell code updates library pip install --upgrade