Detect how a Python package was installed and get the correct upgrade command
pip install detect-installer