pip is being invoked by an old script wrapper. code example
Example: WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
python -m pip install --upgrade --force-reinstall pip
python -m pip install --upgrade --force-reinstall pip