# Julia fails to precompile plots

**URL:** <https://discourse.julialang.org/t/julia-fails-to-precompile-plots/88411>\
**Category:** General Usage\
**Created:** [October 7, 2022, 3:56pm UTC](https://discourse.julialang.org/t/julia-fails-to-precompile-plots/88411 "2022-10-07T15:56:16Z")\
**Posts on this page:** 1\
**Showing post:** 18

<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:** [October 7, 2022, 7:55pm UTC](https://discourse.julialang.org/t/julia-fails-to-precompile-plots/88411/18 "2022-10-07T19:55:00Z")

</div>

Can you restart julia, then type:

```julia
julia> ENV["JULIA_DEBUG"] = "GR";
julia> using Pkg; Pkg.precompile()

```

You should see the debug message as in [Cannot Precompile Plots.jl due to GR - #7 by t-bltg](https://discourse.julialang.org/t/cannot-precompile-plots-jl-due-to-gr/88230/7).

---

_[View the full topic](https://discourse.julialang.org/t/julia-fails-to-precompile-plots/88411)._
