# MKL+PyPlot

**URL:** <https://discourse.julialang.org/t/mkl-pyplot/22581>\
**Category:** New to Julia\
**Tags:** package\
**Created:** [April 1, 2019, 2:10am UTC](https://discourse.julialang.org/t/mkl-pyplot/22581 "2019-04-01T02:10:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aquaman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aquaman/32/6586_2.png) [@Aquaman](https://discourse.julialang.org/u/Aquaman)\
**Post date:** [April 1, 2019, 2:10am UTC](https://discourse.julialang.org/t/mkl-pyplot/22581/1 "2019-04-01T02:10:37Z")

</div>

Hi,

I am now using MKL.

a simple test:

```julia
 using PyPlot
u=rand(5)
plot(u,u)

```

**Error:**

```julia
Warning: both Julia and NumPy are linked with MKL, which may cause conflicts and crashes (#433).
└ @ PyCall C:\Users\test\.julia\packages\PyCall\a5Jd3\src\numpy.jl:73

```

**`The kernel appears to have died. It will restart automatically.`**

how to fix the bug?

best!

---

<div class="post-metadata">

**Author:** ![v-i-s-h](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/v-i-s-h/32/46152_2.png) [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Post date:** [April 1, 2019, 7:53am UTC](https://discourse.julialang.org/t/mkl-pyplot/22581/2 "2019-04-01T07:53:53Z")

</div>

This is a reported issue in PyCall.jl  
See: [Segfault with Julia MKL build (library conflict) · Issue #443 · JuliaPy/PyCall.jl · GitHub](https://github.com/JuliaPy/PyCall.jl/issues/443)

Seems like there is no real solution for this problem yet! ([Workaround for julia compiled with MKL? · Issue #428 · JuliaPy/PyPlot.jl · GitHub](https://github.com/JuliaPy/PyPlot.jl/issues/428)).

If you are not very particular about PyPlot, then try Plots.jl+GR

---

<div class="post-metadata">

**Author:** ![Aquaman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aquaman/32/6586_2.png) [@Aquaman](https://discourse.julialang.org/u/Aquaman)\
**Post date:** [April 1, 2019, 10:08am UTC](https://discourse.julialang.org/t/mkl-pyplot/22581/3 "2019-04-01T10:08:02Z")

</div>

> [@v-i-s-h](#):
>
> PyPlot

May I ask, is PyPlot plotting speed slower vs Plots.jl?

---

<div class="post-metadata">

**Author:** ![v-i-s-h](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/v-i-s-h/32/46152_2.png) [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Post date:** [April 1, 2019, 10:45am UTC](https://discourse.julialang.org/t/mkl-pyplot/22581/4 "2019-04-01T10:45:13Z")

</div>

Plots.jl is library which uses multiple backends to plot. PyPlot is also one of the backends for Plots.jl - so you can think of it as PyPlot itself with little bit extra code from Plots.jl.

But GR backend of Plots.jl is supposed to be better that PyPlot.
