How do I update/upgrade pip itself from inside my virtual environment?

To update pip itself from inside your virtual environment, you can use the following command:

pip install --upgrade pip

This command will upgrade pip to the latest version.

Watch a course Python - The Practical Guide

Alternatively, you can use the following command to specify a specific version of pip to upgrade to:

pip install --upgrade pip==<version>

Replace <version> with the version of pip you want to upgrade to.