pip/pip3

Upgrade PIP

pip3 install --upgrade pip

Install latest version of software under a certain version

pip install "django<1.12" "selenium<4"

Re-Install a package that has missing modules

pip --no-cache-dir install  --verbose --force-reinstall -I pyyaml

show versions of all installed packages

pip freeze