Cannot use Pluto with Julia 1.11 (alpha2)
eschnett opened this issue · comments
Erik Schnetter commented
I am using Julia 1.11 (alpha2), installed on macOS via juliaup. I see this error:
julia> using Pluto
Precompiling Pluto...
Info Given Pluto was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: `complete_remote_package` not defined in `Pkg.REPLMode`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:42
[2] top-level scope
@ none:1
[3] eval(m::Module, e::Any)
@ Core ./boot.jl:428
[4] var"@static"(__source__::LineNumberNode, __module__::Module, ex::Any)
@ Base ./osutils.jl:19
[5] include(mod::Module, _path::String)
@ Base ./Base.jl:558
[6] include(x::String)
@ Pluto ~/.julia/packages/Pluto/HYpFq/src/Pluto.jl:11
[7] top-level scope
@ ~/.julia/packages/Pluto/HYpFq/src/Pluto.jl:53
[8] include
@ ./Base.jl:558 [inlined]
[9] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2679
[10] top-level scope
@ stdin:4
in expression starting at /Users/eschnett/.julia/packages/Pluto/HYpFq/src/packages/PkgCompat.jl:285
in expression starting at /Users/eschnett/.julia/packages/Pluto/HYpFq/src/packages/PkgCompat.jl:1
in expression starting at /Users/eschnett/.julia/packages/Pluto/HYpFq/src/Pluto.jl:1
in expression starting at stdin:4
✗ Pluto
0 dependencies successfully precompiled in 10 seconds. 67 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
Pluto
Failed to precompile Pluto [c3e4b0f8-55cb-11ea-2926-15256bba5781] to "/Users/eschnett/.julia/compiled/v1.11/Pluto/jl_AP8WU5".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] precompilepkgs(pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, timing::Bool, _from_loading::Bool, configs::Pair{…}, io::Base.TTY, fancyprint::Bool)
@ Base.Precompilation ./precompilation.jl:935
[3] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2336
[4] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2175
[5] #invoke_in_world#3
@ ./essentials.jl:1064 [inlined]
[6] invoke_in_world
@ ./essentials.jl:1061 [inlined]
[7] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2166
[8] macro expansion
@ ./loading.jl:2106 [inlined]
[9] macro expansion
@ ./lock.jl:273 [inlined]
[10] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2063
[11] #invoke_in_world#3
@ ./essentials.jl:1064 [inlined]
[12] invoke_in_world
@ ./essentials.jl:1061 [inlined]
[13] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2056
Some type information was truncated. Use `show(err)` to see complete types.
julia> versioninfo()
Julia Version 1.11.0-alpha2
Commit 9dfd28ab751 (2024-03-18 20:35 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (x86_64-apple-darwin22.4.0)
CPU: 16 × Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 8 default, 0 interactive, 4 GC (on 16 virtual cores)
Fons van der Plas commented
You can use Pluto#main
, or wait for the next release :)