Based on https://docs.python.org/3/library/functions.html#__import__ - maybe we should change that to importlib.import_module() and see if that helps. Otherwise we might just be catching the wrong exception.
Based on https:/ /docs.python. org/3/library/ functions. html#__ import_ _ - maybe we should change that to importlib. import_ module( ) and see if that helps. Otherwise we might just be catching the wrong exception.