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