lazy_import
lazy_import copied to clipboard
how to fix "xxx attempted to use a functionality that requires module xxx, but it couldn't be loaded. Please install xxx and retry."
ImportError: mmskeleton.utils.third_party attempted to use a functionality that requires module mmdet.apis, but it couldn't be loaded. Please install mmdet and retry.
Same with "from datetime import datetime". Neither lazy_module nor lazy_callable worked