importlib.metadata may be missing with Python 3.7

Current situation

importlib.metadata is not always available with Python 3.7, which may prevent launching the agent.

Desired outcome

A way to launch the agent in this case.