# Plots still broken in Julia1.80 (Mac)

**URL:** https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622
**Category:** Package Management
**Created:** [October 12, 2022, 2:06pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622 "2022-10-12T14:06:45Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 12, 2022, 2:06pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/1 "2022-10-12T14:06:45Z")

</div>

Earlier this year, there was a reported issue with Julia1.7 and Plots (see

> [@Using Plots fails (partially solved but mysterious)](https://discourse.julialang.org/t/using-plots-fails-partially-solved-but-mysterious/76120):
>
> With Julia 1.7 on ubuntu, and with the latest Plots release, running using Plots yields the error: ERROR: InitError: could not load library "/home/users/tarnon/.julia/artifacts/b069ad81d556658ea64a543367e128e535fab269/lib/libgobject-2.0.so" /home/users/tarnon/.julia/artifacts/b069ad81d556658ea64a543367e128e535fab269/lib/libgobject-2.0.so: undefined symbol: g\_uri\_ref Stacktrace: [1] dlopen(s::String, flags::UInt32; throw\_error::Bool) @ Base.Libc.Libdl ./libdl.jl:117 [2] dlopen(s::String…

)  
This same error apparently still has not been resolved as of Julia1.80 (issue was originally reported for a Ubuntu system, but my error on the Mac is identical).  
This is a “showstopper” for my teaching, unfortunately.

I would be extremely grateful for any help [thanks!]

[PS Unless I resolve this somehow in the next few days, I will have to drop Julia for this year’s teaching, as I have a very large class of mostly non-technical students]

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [October 12, 2022, 2:34pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/2 "2022-10-12T14:34:10Z")

</div>

If it helps, new Julia users using 1.8 would probably see this, like I do (on a Mac) with a fresh installation of Plots:

 ![Screenshot 2022-10-12 at 15.31.03](https://global.discourse-cdn.com/julialang/original/3X/7/3/73b29767dde52b906137b8fa19d4d9e046f85ff6.png)

If you’re seeing errors, perhaps post a listing of the output of `status`?

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 12, 2022, 2:46pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/3 "2022-10-12T14:46:59Z")

</div>

Thank you. It had worked like that for me initially and then I had opened it for the first time in JupyterLab and it no longer worked (not even at the console) after that.

I just ran a comprehensive update and it seems to be working again.

Could it be an environment issue with Jupyterlab, I wonder?

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [October 12, 2022, 2:54pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/4 "2022-10-12T14:54:06Z")

</div>

> [@compleat](#):
>
> it no longer worked (not even at the console) after that

Hanging? Frozen? Unresponsive? Crash? Errors in Console? More info might help people help you. (I’ve never heard of Jupyterlab, so I can’t assist further. Pluto’s quite good!)

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 12, 2022, 2:56pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/5 "2022-10-12T14:56:16Z")

</div>

All sorts of unmet dependencies after invoking “using Plots” (virtually exact error message quoted at the top above)  
Thanks 🙂

---

<div class="post-metadata">

### Author: ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)
#### Post date: [October 12, 2022, 3:05pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/6 "2022-10-12T15:05:19Z")

</div>

Well, Pluto.jl works perfectly for me, with no errors.

 ![Screenshot 2022-10-12 at 16.02.20](https://global.discourse-cdn.com/julialang/original/3X/c/3/c3cf8e96f5af33c451ec1bde5d466167b8355eb6.png)

So there might be some non-Julia issues with your computer, or perhaps you’re seeing issues with other packages which we can’t guess at. Again, more information will allow people to help. 🙂

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [October 12, 2022, 3:32pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/7 "2022-10-12T15:32:53Z")

</div>

To help us help you, post

1. Any errors you get when doing `using Plots` in a clean environment
2. The `] st` result when you replicate your error.

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 12, 2022, 3:58pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/8 "2022-10-12T15:58:04Z")

</div>

Yes, the more I look into it, the more it seems that JupyterLab is the culprit. So rather than dropping Julia for my upcoming teaching, it looks like I need to drop JupyterLab (in my case, probably in favour of VSCode with Notebook extension).  
Thanks!

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 12, 2022, 5:05pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/9 "2022-10-12T17:05:47Z")

</div>

Thank you and sorry for not being clearer.

The error at the top of this post is what happens after `using Plots` in a fresh environment, but only when run in JupyterLab (I now see). For all other contexts (including VSCode, Pluto, Neptune, etc.) there is no error, though these do not work anymore after the command is attempted JupyterLab.

From reading it appears that an initialisation of an important environment variable (LD\_LIBRARY\_PATH=“”) has been omitted from the steps involved in the invocation of a kernel in JupyterLab.

My apologies for the confusion of a Julia issue with what appears to be a JupyterLab issue.

---

<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 12, 2022, 6:39pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/10 "2022-10-12T18:39:28Z")

</div>

Using `LD_LIBRARY_PATH` is nearly always a non-solution for developers and **never a solution** for regular users. There is likely a conflict between the `jupyterlab` libraries and the `julia` libraries loaded when starting the `julia` kernel. This can probably be investigated using `strace` and/or `LD_DEBUG` and such on `linux`.

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [October 12, 2022, 6:51pm UTC](https://discourse.julialang.org/t/plots-still-broken-in-julia1-80-mac/88622/11 "2022-10-12T18:51:27Z")

</div>

Thanks for the heads-up. Lately, I have only been using Notebooks in VSCode and found it to be essentially bug-free. Students are a bit more familiar with JupyterLab, but this isn’t the first bug I have encountered, so I think I will have them use VSCode for my classes.
