Skip to content

lazy-import does not work with autoreload #13

@douglasmacdonald

Description

@douglasmacdonald

This might be of interest as a limitation that you might considder documenting.

Trying to use autoreload in a Jupyter notebook then lazy-import does not work...

%load_ext autoreload
%autoreload 2

...

Error in callback <bound method AutoreloadMagics.post_execute_hook of <autoreload.AutoreloadMagics object at 0x0000000004CE1908>> (for post_execute):

...

ImportError: ... attempted to use a functionality that requires module ..., but it couldn't be loaded. Please install features and retry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions