Hi
I installed my Julia ecosystem on a new macbook pro (with mojave 10.14.4 and Julia 1.1.0), and a crash occurs when any PyPlot (version installed: 2.8.1) command is executed. Hereafter an example when I execute the commands in a terminal: PyPlot generates an error and the REPL crashes; I have to kill the terminal. I have the same situation when I execute the instructions under Juno. I tried (1) to reinstall PyPlot (ps: no error is reported), (2) to update the package, and it is not better. Any suggestion to fix it? Also, do you know what to do to prevent this problem for forcoming installs. Thanks.
Xavier
Last login: Tue May 7 11:58:20 on ttys002
MacBook-Pro-de-Xavier:~ xgandibleux$ exec â/Applications/Julia-1.1.app/Contents/Resources/julia/bin/juliaâ
_
_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type â?â for help, â]?â for Pkg help.
| | | | | | |/ ` | |
| | || | | | (| | | Version 1.1.0 (2019-01-21)
/ |_â|||_â_| | Official https://julialang.org/ release
|__/ |
(v1.1) pkg> status
Status ~/.julia/environments/v1.1/Project.toml
[c52e3926] Atom v0.8.5
[2e9cd046] Gurobi v0.6.0
[4076af6c] JuMP v0.19.0
[e5e0dc1b] Juno v0.7.0
[91a5bcdd] Plots v0.24.0
[d330b81b] PyPlot v2.8.1
julia> using PyPlot
julia> x=[2,7,4] ; y=[5,1,8]
3-element Array{Int64,1}:
5
1
8
julia> plot(x,y)
2019-05-07 12:00:16.274 julia[645:19565] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7fbef5dfb960
2019-05-07 12:00:16.274 julia[645:19565] *** Terminating app due to uncaught exception âNSInvalidArgumentExceptionâ, reason: â-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fbef5dfb960â
*** First throw call stack:
(
)
libc++abi.dylib: terminating with uncaught exception of type NSException
signal (6): Abort trap: 6
in expression starting at no file:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 14022329 (Pool: 14020162; Big: 2167); GC: 30
[Opération terminée]