M pip install upgrade pip command. Pyautogui. python -m pip install. python -m pip install --upgrade pip. pyautogui python.