`load_module` has been deprecated since Python 3.4. A warning is issued in recent releases: > ImportWarning: _Loader.exec_module() not found; falling back to load_module() See: https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module