# Plots failed to precompile

**URL:** <https://discourse.julialang.org/t/plots-failed-to-precompile/76109>\
**Category:** New to Julia\
**Tags:** question, package, plotting, error, plots\
**Created:** [February 9, 2022, 6:49pm UTC](https://discourse.julialang.org/t/plots-failed-to-precompile/76109 "2022-02-09T18:49:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zunnki0](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zunnki0/32/33647_2.png) [@Zunnki0](https://discourse.julialang.org/u/Zunnki0)\
**Post date:** [February 9, 2022, 6:49pm UTC](https://discourse.julialang.org/t/plots-failed-to-precompile/76109/1 "2022-02-09T18:49:36Z")

</div>

_Solved after uninstalling Julia and installing a later version._

I have tried to include the Plots package from the REPL with:

`(@v1.7) pkg> add Plots `

This has failed. The error occurs when Julia is **“Building GR”.** Several dependencies need to be precompiled. I have tried this several times and the same 12 always fail to precompile, they are:  
**Glib\_jll**  
**gdk\_pixbuf\_jll**  
**Cairo\_jll**  
**HarfBuzz\_jll**  
**Qt5Base\_jll**  
**libass\_jll**  
**Pango\_jll**  
**Cairo**  
**FFMPEG\_jll**  
**GR\_jll**  
**Luxor**

I have tried to build these packages. When I try ` julia> using Glib_jll` I get the following error:

```julia
ERROR: LoadError: InitError: could not load library "C:\Users\anaal\.julia\artifacts\5e6cdd29fca31b08026313af46c1db0c724ebbb2\bin\libpcre-1.dll"         
The specified module could not be found.       
Stacktrace:   

```

(I haven’t copied the Stacktrace)

```julia
during initialization of module PCRE_jll           
in expression starting at C:\Users\anaal\.julia\packages\Glib_jll\2OVnY\src\wrappers\x86_64-w64-mingw32.jl:7            
in expression starting at C:\Users\anaal\.julia\packages\Glib_jll\2OVnY\src\Glib_jll.jl:2                               
ERROR: Failed to precompile Glib_jll [7746bdde-850d-59dc-9ae8-88ece973131d] to C:\Users\anaal\.julia\compiled\v1.7\Glib_jll\jl_FFD0.tmp.     
Stacktrace:  

```

(I haven’t copied the Stacktrace)

When I check the folder **.julia\artifacts\5e6cdd29fca31b08026313af46c1db0c724ebbb2** it is empty. So it seems like Julia cannot install the package **PCRE\_jll** because the folder that contains its information **.julia\artifacts\5e6cdd29fca31b08026313af46c1db0c724ebbb2** is empty. Is there a way to solve this?

I am on windows, I downloaded Julia a few days ago for a course I’m taking. I have **v1.7** and I have only connected it to **Jupyter Notebook** with **anaconda**. I tried installing the packages for Gmsh before installing Plots. But those are the only packages I have installed. Several of my classmates have successfully installed Plots, which makes it all more confusing.  
I am not sure if this is relevant, but when I tried to install the Gmsh package with ` using Gmsh` I also had an error saying that the packages didn’t support my platform ( `Your platform ("x86_64-w64-mingw32", parsed as "x86_64-w64-mingw32-gcc8-cxx11")` ). But I found a gmsh.jl on GitHub that I managed to install.
