Using PyPlot in VSCode makes Julia REPL crash

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> 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

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

Solution:
uninstall numpy using Conda

julia> using Conda
julia> Conda.rm("numpy")
1 Like