you can check the parameters with pip install --help
-U, --upgrade Upgrade all specified packages to the newest available version. The handling of
dependencies depends on the upgrade-strategy used.
-q, --quiet Give less output. Option is additive, and can be
used up to 3 times (corresponding to WARNING,
ERROR, and CRITICAL logging levels).
So -U makes sure the package is upgraded if its already installed (e.g. on Colab fastai v1 is still the default version - you’ll have to upgrade to use v2) and -q surpresses the output of pip.
1 from . import models
2 from ..basics import *
----> 3 from ..callback.all import *
4 from .augment import *
5 from .core import *
ModuleNotFoundError: No module named 'fastai.callback.all'; 'fastai.callback' is not a package