-
-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Description
Suppose I want to load a package, say TestPkg.jl with content
module TestPkg end
If the package triggers precompilation, then in IJulia with kernel Julia 1.10.0-beta1 I get
In [1]: using TestPkg
MethodError: no method matching pipe_writer(::IJulia.IJuliaStdio{Base.PipeEndpoint})
The applicable method may be too new: running in world age 31360, while current world is 31378.
The same happens for import TestPkg.
With command-line Julia 1.10 or IJulia with kernel 1.9 I get the expected result,
In [1]: using TestPkg
[ Info: Precompiling TestPkg [top-level]
I'm using Jupyter Notebook 6.3.0 with IJulia 1.24.2.
EDIT: The problem persists with Julia 1.10.0-beta2. Also, for me it appears even for trivial packages like TestPkg above, but only with IJulia: If I create a script test.jl with the line using TestPkg, then both julia test.jl and julia -L test.jl work fine if TestPkg needs precompilation.
Metadata
Metadata
Assignees
Labels
No labels