# Using PyPlot in VSCode makes Julia REPL crash

**URL:** <https://discourse.julialang.org/t/using-pyplot-in-vscode-makes-julia-repl-crash/56810>\
**Category:** Tooling\
**Tags:** vscode\
**Created:** [March 9, 2021, 2:36pm UTC](https://discourse.julialang.org/t/using-pyplot-in-vscode-makes-julia-repl-crash/56810 "2021-03-09T14:36:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Pagnani](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea_pagnani/32/3136_2.png) [@Andrea\_Pagnani](https://discourse.julialang.org/u/Andrea_Pagnani)\
**Post date:** [March 9, 2021, 2:36pm UTC](https://discourse.julialang.org/t/using-pyplot-in-vscode-makes-julia-repl-crash/56810/1 "2021-03-09T14:36:59Z")

</div>

Dear all

Today I started experiencing a disturbing VSCode behaviour (I am on MacOS X Big Sur):

I start julia REPL from VSCode

I make a

```julia
julia> using PyPlot

```

and the REPL window crashes. Unfortunately I cannot record the message displayed because the crash is so quick that I cannot see it. (BTW, is there a way to intercept the message and print it before the crash?).

Interestingly, if I start julia from the VSCode shell and use PyPlot there is no problem.

Any suggestion?

Thanks

---

<div class="post-metadata">

**Author:** ![Andrea\_Pagnani](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea_pagnani/32/3136_2.png) [@Andrea\_Pagnani](https://discourse.julialang.org/u/Andrea_Pagnani)\
**Post date:** [March 9, 2021, 4:07pm UTC](https://discourse.julialang.org/t/using-pyplot-in-vscode-makes-julia-repl-crash/56810/2 "2021-03-09T16:07:50Z")

</div>

Solved. I had installed with Conda a version of numpy newer that screwed up matplotlib. Possibly related to

[https://github.com/JuliaLinearAlgebra/MKL.jl/issues/46](https://github.com/JuliaLinearAlgebra/MKL.jl/issues/46)

Solution:  
uninstall numpy using Conda

```julia
julia> using Conda
julia> Conda.rm("numpy")

```
