python upgrade pip scipy code example Example: python upgrade pip scipy sudo pip install --upgrade scipy