# error compiling \_plot!: error compiling \_display: could not load library "libGR.dll" The specified module could not be found.

**URL:** <https://discourse.julialang.org/t/error-compiling-plot-error-compiling-display-could-not-load-library-libgr-dll-the-specified-module-could-not-be-found/15965>\
**Category:** Visualization\
**Created:** [October 6, 2018, 2:41pm UTC](https://discourse.julialang.org/t/error-compiling-plot-error-compiling-display-could-not-load-library-libgr-dll-the-specified-module-could-not-be-found/15965 "2018-10-06T14:41:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vince](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@Vince](https://discourse.julialang.org/u/Vince)\
**Post date:** [October 6, 2018, 2:41pm UTC](https://discourse.julialang.org/t/error-compiling-plot-error-compiling-display-could-not-load-library-libgr-dll-the-specified-module-could-not-be-found/15965/1 "2018-10-06T14:41:12Z")

</div>

I am completely new to programming and Julia is my first language to learn. I am using Atom IDE for Julia whenever i try to plot anything like using Plots; plot(rand(5))  
the above error is displayed. I tried using ENV[“GRDIR”]=" ";Pkg.build(“GR”).  
Still i get the same error

---

<div class="post-metadata">

**Author:** ![cserteGT3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/csertegt3/32/8283_2.png) [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Post date:** [October 17, 2018, 9:49pm UTC](https://discourse.julialang.org/t/error-compiling-plot-error-compiling-display-could-not-load-library-libgr-dll-the-specified-module-could-not-be-found/15965/2 "2018-10-17T21:49:32Z")

</div>

If you are on windows, this [github issue](https://github.com/jheinen/GR.jl/issues/161) may help you.  
I had the same problem, firstly installing the package took a long time, and after it I got the same error.  
The problem was, that during downloading a binary for the package, some networking error ocurred and not the whole file was downloaded. That was the root of the issue.  
If you experience the same, the above mentioned github issue may help you to solve it.

---

<div class="post-metadata">

**Author:** ![Vince](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@Vince](https://discourse.julialang.org/u/Vince)\
**Post date:** [October 21, 2018, 6:31am UTC](https://discourse.julialang.org/t/error-compiling-plot-error-compiling-display-could-not-load-library-libgr-dll-the-specified-module-could-not-be-found/15965/3 "2018-10-21T06:31:33Z")

</div>

Thanks but i first uninstalled and again installed julia and atom and it worked fine after that.
