# Plotting fails on a fresh MacOS install

**URL:** <https://discourse.julialang.org/t/plotting-fails-on-a-fresh-macos-install/70272>\
**Category:** New to Julia\
**Created:** [October 23, 2021, 9:25pm UTC](https://discourse.julialang.org/t/plotting-fails-on-a-fresh-macos-install/70272 "2021-10-23T21:25:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alexandre\_Champagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alexandre_champagne/32/19010_2.png) [@Alexandre\_Champagne](https://discourse.julialang.org/u/Alexandre_Champagne)\
**Post date:** [October 23, 2021, 9:30pm UTC](https://discourse.julialang.org/t/plotting-fails-on-a-fresh-macos-install/70272/2 "2021-10-23T21:30:13Z")

</div>

For others having the same issue, found a solution:

In Julia REPL,

```julia
import Pkg;
Pkg.add("Conda")
import Conda
Conda.update()
Pkg.build("PyPlot")

```

No idea why was that necessary but the code now works. Though I’m still getting a warning, no idea if there’s any consequence.

```julia
[1] alexandre@Alexandres-MacBook-Pro Desktop ./test.jl
[ Info: Installing pyqt package to avoid buggy tkagg backend.
┌ Warning: No working GUI backend found for matplotlib
└ @ PyPlot ~/.julia/packages/PyPlot/XaELc/src/init.jl:165

```

---

_[View the full topic](https://discourse.julialang.org/t/plotting-fails-on-a-fresh-macos-install/70272)._
