diff --git a/clearml/backend_interface/task/repo/scriptinfo.py b/clearml/backend_interface/task/repo/scriptinfo.py index 12fa8bfe..69bd3739 100644 --- a/clearml/backend_interface/task/repo/scriptinfo.py +++ b/clearml/backend_interface/task/repo/scriptinfo.py @@ -348,6 +348,12 @@ def _daemon(cls, jupyter_notebook_filename, notebook_name=None): except Exception as ex: cls._get_logger().warning('Could not read Jupyter Notebook: {}'.format(ex)) + if isinstance(ex, ImportError): + module_name = getattr(ex, "name", None) + if module_name: + cls._get_logger().warning( + 'Please install {name} using "pip install {name}"'.format(name=module_name) + ) _script_exporter = None # load pigar