Skip to content

Failed to find Base.active_repl_backend.ast_transforms in jupyter notebooks #9

@lgoettgens

Description

@lgoettgens

With the exact startup file as the example in the README.md, I get the following output every time I execute the first cell (after kernel restart) in a jupyter notebook.

�[33m�[1m┌ �[22m�[39m�[33m�[1mWarning: �[22m�[39mFailed to find Base.active_repl_backend.ast_transforms
�[33m�[1m└ �[22m�[39m�[90m@ BasicAutoloads ~/.julia/packages/BasicAutoloads/WpUQa/src/BasicAutoloads.jl:108�[39m

or without formatting:

┌ Warning: Failed to find Base.active_repl_backend.ast_transforms
└ @ BasicAutoloads ~/.julia/packages/BasicAutoloads/WpUQa/src/BasicAutoloads.jl:108

This happens both on a julia 1.10.5 and a julia 1.11.1 kernel.

To skip loading of BasicAutoloads for jupyter notebooks, I changed the first line of my startup file to

if Base.isinteractive() && !isdefined(Main, :IJulia)

but this does not change anything about the above issue.

Do you have an idea how to make BasicAutoloads either work with jupyter notebooks or skip loading it at all?

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