# Plots package not working in Pluto using Windows 11

**URL:** https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709
**Category:** Pluto
**Tags:** question
**Created:** [November 3, 2022, 10:39am UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709 "2022-11-03T10:39:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![RayleighLord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rayleighlord/32/33592_2.png) [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)
#### Post date: [November 3, 2022, 10:39am UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709/1 "2022-11-03T10:39:14Z")

</div>

I wanted to try some of my notebooks on Windows 11 and I found that the `Plots.jl` package is not able to produce any of the plots I have. This is the code I want to run in Pluto

```julia
using Plots
plot([1, 2, 3], [1, 2, 3])

```

and the stacktrace I got is

```julia
Failed to show value:

SystemError: opening file "C:\\Users\\javie\\AppData\\Local\\Temp\\jl_uniJQB4fmv.svg": No such file or directory

var"#systemerror#81"(::Nothing, ::typeof(systemerror), ::String, ::Int32)@error.jl:176
#systemerror#80@error.jl:175[inlined]
systemerror@error.jl:175[inlined]
var"#open#670"(::Bool, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(open), ::String)@iostream.jl:293
open@iostream.jl:275[inlined]
var"#open#378"(::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, ::typeof(open), ::Base.var"#387#388"{String}, ::String)@io.jl:382
open@io.jl:381[inlined]
read@io.jl:462[inlined]
_show(::IOContext{IOBuffer}, ::MIME{Symbol("image/svg+xml")}, ::Plots.Plot{Plots.GRBackend})@gr.jl:1946
#invokelatest#2@essentials.jl:729[inlined]
invokelatest@essentials.jl:726[inlined]
show(::IOContext{IOBuffer}, ::MIME{Symbol("image/svg+xml")}, ::Plots.Plot{Plots.GRBackend})@output.jl:237
show_richest(::IOContext{IOBuffer}, ::Any)@PlutoRunner.jl:1143
show_richest_withreturned@PlutoRunner.jl:1068[inlined]
format_output_default(::Any, ::Any)@PlutoRunner.jl:968
var"#format_output#51"(::IOContext{Base.DevNull}, ::typeof(Main.PlutoRunner.format_output), ::Any)@PlutoRunner.jl:985
formatted_result_of(::Base.UUID, ::Base.UUID, ::Bool, ::Vector{String}, ::Nothing, ::Module)@PlutoRunner.jl:878
top-level scope@WorkspaceManager.jl:477

```

I was able to reproduce the error in two different machines with a fresh Julia 1.8.2 install. Pluto is v0.19.14.

---

<div class="post-metadata">

### Author: ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)
#### Post date: [November 3, 2022, 10:56am UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709/2 "2022-11-03T10:56:46Z")

</div>

Plots version ?

---

<div class="post-metadata">

### Author: ![RayleighLord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rayleighlord/32/33592_2.png) [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)
#### Post date: [November 3, 2022, 11:03am UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709/3 "2022-11-03T11:03:32Z")

</div>

The one that the Pluto package manager downloads. I guess is the most recent one?

---

<div class="post-metadata">

### Author: ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)
#### Post date: [November 3, 2022, 12:24pm UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709/4 "2022-11-03T12:24:28Z")

</div>

Can you update your packages and show the output of `pkg> st -m Plots GR GR_jll` ?

---

<div class="post-metadata">

### Author: ![RayleighLord](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rayleighlord/32/33592_2.png) [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)
#### Post date: [November 3, 2022, 2:12pm UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709/5 "2022-11-03T14:12:04Z")

</div>

This is the output

```julia
[28b8d3ca] GR v0.69.5                                                                                                  
[91a5bcdd] Plots v1.35.8                                                                                                
[d2c73de3] GR_jll v0.69.1+0   

```

I tried running again the Pluto Notebook and it seems to work now. I guess it was a problem with an update of the Plots.jl package involving the GR backend?

---

<div class="post-metadata">

### Author: ![t-bltg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/t-bltg/32/25526_2.png) [@t-bltg](https://discourse.julialang.org/u/t-bltg)
#### Post date: [November 3, 2022, 2:13pm UTC](https://discourse.julialang.org/t/plots-package-not-working-in-pluto-using-windows-11/89709/6 "2022-11-03T14:13:50Z")

</div>

Probably the same issue as explained in [GKS: svgplugin.dll: can't load library, error 126 (0x7e) · Issue #487 · jheinen/GR.jl · GitHub](https://github.com/jheinen/GR.jl/issues/487#issuecomment-1302127100), caused by the recent `GR_jll` update (which is now yanked).
