Skip to content

Instalation doesn't work #71

@LilithHafner

Description

@LilithHafner

I tried to install Plotly on asahi linux and it didn't work. I imagine that there are some dependancies which I do not have that Plotly.jl expects but neither installs automatically nor mentions on the README instilation instructions. Here's what I've tried:

$ julia
  o  | Version 1.11.3 (2025-01-21)
 o o | Official https://julialang.org/ release
(@v1.11) pkg> activate --temp
  Activating new project at `/tmp/jl_eIbe17`

julia> using Plotly
 │ Package Plotly not found, but a package named Plotly is available from a registry. 
 │ Install package?
 │   (jl_eIbe17) pkg> add Plotly 
 └ (y/n/o) [y]: 
   Resolving package versions...
    Updating `/tmp/jl_eIbe17/Project.toml`
  [58dd65bb] + Plotly v0.4.1
    Updating `/tmp/jl_eIbe17/Manifest.toml`
  [bf4720bc] + AssetRegistry v0.1.0
  [9e28174c] + BinDeps v1.0.2
⌃ [ad839575] + Blink v0.12.5
  [35d6a980] + ColorSchemes v3.28.0
  [3da002f7] + ColorTypes v0.12.0
  [c3611d14] + ColorVectorSpace v0.11.0
  [5ae59095] + Colors v0.13.0
  [9a962f9c] + DataAPI v1.16.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [8bb1440f] + DelimitedFiles v1.9.1
  [ffbed154] + DocStringExtensions v0.9.3
  [53c48c17] + FixedPointNumbers v0.8.5
  [de31a74c] + FunctionalCollections v0.5.0
⌅ [cd3eb016] + HTTP v0.9.17
  [9fb69e20] + Hiccup v0.2.2
  [83e8ac13] + IniFile v0.5.1
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.7.0
  [97c1335a] + JSExpr v0.5.4
  [682c06a0] + JSON v0.21.4
  [b964fa9f] + LaTeXStrings v1.4.0
  [50d2b5c4] + Lazy v0.15.1
  [1914dd2f] + MacroTools v0.5.15
  [739be429] + MbedTLS v1.1.9
  [ffc61752] + Mustache v1.0.20
⌅ [a975b10e] + Mux v0.7.6
  [510215fc] + Observables v0.5.5
  [bac558e1] + OrderedCollections v1.7.0
  [d96e819e] + Parameters v0.12.3
  [69de0a69] + Parsers v2.8.1
  [fa939f87] + Pidfile v1.3.0
  [58dd65bb] + Plotly v0.4.1
  [a03496cd] + PlotlyBase v0.8.19
  [f0f68f2c] + PlotlyJS v0.18.15
  [f2990250] + PlotlyKaleido v2.2.6
  [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [189a3867] + Reexport v1.2.2
  [ae029012] + Requires v1.3.0
  [10745b16] + Statistics v1.11.1
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.12.0
  [62fd8b95] + TensorCore v0.1.1
  [30578b45] + URIParser v0.4.1
  [5c2747f8] + URIs v1.5.1
  [3a884ed6] + UnPack v1.0.2
  [0f1e0344] + WebIO v0.8.21
⌃ [104b5d7c] + WebSockets v1.5.9
  [cc8bc4a8] + Widgets v0.6.7
  [f7e6163d] + Kaleido_jll v0.2.1+0
  [0dad84c5] + ArgTools v1.1.2
  [56f22d72] + Artifacts v1.11.0
  [2a0f44e3] + Base64 v1.11.0
  [ade2ca70] + Dates v1.11.0
  [8ba89e20] + Distributed v1.11.0
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2 v1.11.0
  [8f399da3] + Libdl v1.11.0
  [37e2e46d] + LinearAlgebra v1.11.0
  [56ddb016] + Logging v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [a63ad114] + Mmap v1.11.0
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.11.0
  [de0858da] + Printf v1.11.0
  [3fa0cd96] + REPL v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization v1.11.0
  [6462fe0b] + Sockets v1.11.0
  [f489334b] + StyledStrings v1.11.0
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test v1.11.0
  [cf7118a7] + UUIDs v1.11.0
  [4ec0a83e] + Unicode v1.11.0
  [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0
  [deac9b47] + LibCURL_jll v8.6.0+0
  [e37daf67] + LibGit2_jll v1.7.2+0
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.6+0
  [14a3606d] + MozillaCACerts_jll v2023.12.12
  [4536629a] + OpenBLAS_jll v0.3.27+1
  [83775a58] + Zlib_jll v1.2.13+1
  [8e850b90] + libblastrampoline_jll v5.11.0+0
  [8e850ede] + nghttp2_jll v1.59.0+0
  [3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
┌ Warning: Kaleido startup failed.
└ @ PlotlyKaleido ~/.julia/packages/PlotlyKaleido/xxZnj/src/PlotlyKaleido.jl:38

julia> plot([1,2,3])
Error showing value of type PlotlyJS.SyncPlot:
ERROR: Cannot find Electron. Try `Blink.AtomShell.install()`.
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] electron
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:70 [inlined]
  [3] init(; debug::Bool)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:88
  [4] init
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:87 [inlined]
  [5] #shell#9
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:149 [inlined]
  [6] shell
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:140 [inlined]
  [7] Blink.AtomShell.Window(args::Dict{String, Int64})
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/window.jl:89
  [8] display_blink(p::PlotlyJS.SyncPlot)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/display.jl:169
  [9] display(::PlotlyJS.PlotlyJSDisplay, p::PlotlyJS.SyncPlot)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/display.jl:160
 [10] display(x::Any)
    @ Base.Multimedia ./multimedia.jl:340
 [11] print_response(errio::IO, response::Any, show_value::Bool, have_color::Bool, specialdisplay::Union{Nothing, AbstractDisplay})
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:0
 [12] (::REPL.var"#70#71"{REPL.LineEditREPL, Pair{Any, Bool}, Bool, Bool})(io::Any)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:378
 [13] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:661
 [14] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:376
 [15] (::REPL.var"#do_respond#96"{Bool, Bool, REPL.var"#112#130"{REPL.LineEditREPL, REPL.REPLHistoryProvider}, REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::Any, ok::Bool)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1003
 [16] #invokelatest#2
    @ ./essentials.jl:1055 [inlined]
 [17] invokelatest
    @ ./essentials.jl:1052 [inlined]
 [18] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
    @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2755
 [19] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1474
 [20] (::REPL.var"#75#81"{REPL.LineEditREPL, REPL.REPLBackendRef})()
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:480

julia> Blink.AtomShell.install()
ERROR: UndefVarError: `Blink` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: Blink is loaded but not imported in the active module Main.
Stacktrace:
 [1] top-level scope
   @ REPL[4]:1

julia> PlotlyJS.Blink.AtomShell.install()
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 71.6M  100 71.6M    0     0  4606k      0  0:00:15  0:00:15 --:--:-- 5307k

julia> plot([1,2,3])
Error showing value of type PlotlyJS.SyncPlot:
ERROR: IOError: connect: connection refused (ECONNREFUSED)
Stacktrace:
  [1] wait_connected(x::Sockets.TCPSocket)
    @ Sockets ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/Sockets/src/Sockets.jl:528
  [2] connect
    @ ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/Sockets/src/Sockets.jl:563 [inlined]
  [3] connect(addr::Sockets.IPv4, port::Int64)
    @ Sockets ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/Sockets/src/Sockets.jl:549
  [4] try_connect(::Sockets.IPv4, ::Vararg{Any}; interval::Float64, attempts::Int64)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:79
  [5] try_connect
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:76 [inlined]
  [6] init(; debug::Bool)
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:93
  [7] init
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:87 [inlined]
  [8] #shell#9
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:149 [inlined]
  [9] shell
    @ ~/.julia/packages/Blink/mwJC9/src/AtomShell/process.jl:140 [inlined]
 [10] Blink.AtomShell.Window(args::Dict{String, Int64})
    @ Blink.AtomShell ~/.julia/packages/Blink/mwJC9/src/AtomShell/window.jl:89
 [11] display_blink(p::PlotlyJS.SyncPlot)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/display.jl:169
 [12] display(::PlotlyJS.PlotlyJSDisplay, p::PlotlyJS.SyncPlot)
    @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/display.jl:160
 [13] display(x::Any)
    @ Base.Multimedia ./multimedia.jl:340
 [14] print_response(errio::IO, response::Any, show_value::Bool, have_color::Bool, specialdisplay::Union{Nothing, AbstractDisplay})
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:0
 [15] (::REPL.var"#70#71"{REPL.LineEditREPL, Pair{Any, Bool}, Bool, Bool})(io::Any)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:378
 [16] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:661
 [17] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:376
 [18] (::REPL.var"#do_respond#96"{Bool, Bool, REPL.var"#112#130"{REPL.LineEditREPL, REPL.REPLHistoryProvider}, REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::Any, ok::Bool)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1003
 [19] #invokelatest#2
    @ ./essentials.jl:1055 [inlined]
 [20] invokelatest
    @ ./essentials.jl:1052 [inlined]
 [21] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
    @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2755
 [22] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1474
 [23] (::REPL.var"#75#81"{REPL.LineEditREPL, REPL.REPLBackendRef})()
    @ REPL ~/.julia/juliaup/julia-1.11.3+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:480

julia> p = plot([1,2,3]);

julia> savefig(p)
┌ Warning: Kaleido startup failed.
└ @ PlotlyKaleido ~/.julia/packages/PlotlyKaleido/xxZnj/src/PlotlyKaleido.jl:38
ERROR: IOError: write: broken pipe (EPIPE)
Stacktrace:
 [1] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64)
   @ Base ./stream.jl:1100
 [2] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64)
   @ Base ./stream.jl:1154
 [3] unsafe_write
   @ ./io.jl:452 [inlined]
 [4] write
   @ ./strings/io.jl:248 [inlined]
 [5] write
   @ ./strings/basic.jl:807 [inlined]
 [6] savefig(p::Plot{Vector{GenericTrace{Dict{Symbol, Any}}}, Layout{Dict{Symbol, Any}}, Vector{PlotlyFrame}}; width::Nothing, height::Nothing, scale::Nothing, format::String)
   @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/kaleido.jl:30
 [7] savefig(p::Plot{Vector{GenericTrace{Dict{Symbol, Any}}}, Layout{Dict{Symbol, Any}}, Vector{PlotlyFrame}})
   @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/kaleido.jl:5
 [8] savefig(p::PlotlyJS.SyncPlot; kwargs::@Kwargs{})
   @ PlotlyJS ~/.julia/packages/PlotlyJS/86P7B/src/kaleido.jl:3
 [9] top-level scope
   @ REPL[13]:1

julia> versioninfo()
Julia Version 1.11.3
Commit d63adeda50d (2025-01-21 19:42 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (aarch64-linux-gnu)
  CPU: 8 × unknown
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m2)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
  JULIA_EDITOR = code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions