Which of the following commands is used to upgrade pip to the latest version?
Correct answer
B. pip install --upgrade pip
15 views
B. pip install --upgrade pip
15 views
The 'pip install --upgrade pip' command is used to upgrade pip to the latest version. It installs the latest version of pip over the existing installation, ensuring that you have the most up-to-date version of the package manager.
Not sure why the answer is B? Ask here and get an explanation.