# Plots, InitError: UndefVarError: GR\_jll not defined

**URL:** <https://discourse.julialang.org/t/plots-initerror-undefvarerror-gr-jll-not-defined/102448>\
**Category:** General Usage\
**Tags:** plot\
**Created:** [August 3, 2023, 1:43pm UTC](https://discourse.julialang.org/t/plots-initerror-undefvarerror-gr-jll-not-defined/102448 "2023-08-03T13:43:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [August 3, 2023, 2:00pm UTC](https://discourse.julialang.org/t/plots-initerror-undefvarerror-gr-jll-not-defined/102448/3 "2023-08-03T14:00:38Z")

</div>

@t-bltg @jheinen I believe there may be some room for improvement here. I cannot recall why there is a `try`-`catch` there to begin with.

Since we are not loading any librarys on `import GR_jll`, I am failing to imagine how `import GR_jll` can fail.

> <https://github.com/JuliaPackaging/Yggdrasil/blob/748b902ac4ef455501e01289b91ba7cc3188d04a/G/GR/build_tarballs.jl#L81-L84>

Perhaps the `try` here is just obsolute and we can remove it now?

---

_[View the full topic](https://discourse.julialang.org/t/plots-initerror-undefvarerror-gr-jll-not-defined/102448)._
