What is the use of -U
in this install
command?
pip install -U scikit-learn
What is the use of -U
in this install
command?
pip install -U scikit-learn
This option upgrades all packages. From man pip
/INSTALL OPTIONS:
-U, --upgrade
Upgrade all packages to the newest available version. This
process is recursive regardless of whether a dependency is
already satisfied.
You might be interested in this Q&A: How can I get help on terminal commands?