Support upgrading pip
Sometimes there is a problem with pip for eg you cant install a python library with the default venv pip version. Then you need to upgrade pip manually and then continue the script.
See for eg https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean
which was encountered today when installing pytket-quantinum with Alejandro