Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run Pluto after updating to julia 1.11.1 #3112

Closed
urigroisman opened this issue Dec 6, 2024 · 1 comment
Closed

can't run Pluto after updating to julia 1.11.1 #3112

urigroisman opened this issue Dec 6, 2024 · 1 comment

Comments

@urigroisman
Copy link

          I'm having the same problem.  It all appears after updating to julia 1.11.1:
(@v1.11) pkg> up Pluto
    Updating registry at `~/.julia/registries/General.toml`
  No Changes to `~/.julia/environments/v1.11/Project.toml`
  No Changes to `~/.julia/environments/v1.11/Manifest.toml`
Precompiling project...
  ✗ Pluto
  514 dependencies successfully precompiled in 198 seconds. 54 already precompiled.
  1 dependency had output during precompilation:
┌ WebSockets
│  WARNING: could not import Logging.termlength into WebSockets
│  WARNING: could not import Logging.showvalue into WebSockets
└
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

Pluto

Failed to precompile Pluto [c3e4b0f8-55cb-11ea-2926-15256bba5781] to "/Users/ales/.julia/compiled/v1.11/Pluto/jl_pYumin".
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:430
  [4] var"@static"(__source__::LineNumberNode, __module__::Module, ex::Any)
    @ Base ./osutils.jl:19
  [5] include(mod::Module, _path::String)
    @ Base ./Base.jl:557
  [6] include(x::String)
    @ Pluto ~/.julia/packages/Pluto/9zGI7/src/Pluto.jl:11
  [7] top-level scope
    @ ~/.julia/packages/Pluto/9zGI7/src/Pluto.jl:52
  [8] include
    @ ./Base.jl:557 [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:2790
 [10] top-level scope
    @ stdin:5
in expression starting at /Users/ales/.julia/packages/Pluto/9zGI7/src/packages/PkgCompat.jl:278
in expression starting at /Users/ales/.julia/packages/Pluto/9zGI7/src/packages/PkgCompat.jl:1
in expression starting at /Users/ales/.julia/packages/Pluto/9zGI7/src/Pluto.jl:1
in expression starting at stdin:

julia>
julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M2 Pro
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m2)
Threads: 10 default, 0 interactive, 5 GC (on 6 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 10
(@v1.11) pkg> st Pluto
Status `~/.julia/environments/v1.11/Project.toml`
⌃ [c3e4b0f8] Pluto v0.19.9
Info Packages marked with ⌃ have new versions available and may be upgradable.

Originally posted by @urigroisman in #2854 (comment)

@fonsp
Copy link
Owner

fonsp commented Dec 11, 2024

You need to update Pluto to at least 0.20.3 to be able to use Julia 1.11.

Sometimes update Pluto does not update Pluto (like in your case) because of conflicting dependencies. Read https://plutojl.org/en/docs/update/ to learn more about why, and how to fix it.

@fonsp fonsp closed this as completed Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants