The Python built-in module `imp` has been deprecated since Python 3.4. The `importlib` module should be used instead. This is related to issue #555.