It seems that there are problems using TkAgg in macOS:
#405
#399
#253 (comment)
https://discourse.julialang.org/t/pyplot-installation-error-related-to-libpython3-7m-dylib-and-libsystem-kernel-dylib/17649
Upstream issues:
matplotlib/matplotlib#7743
https://sourceforge.net/p/tktoolkit/bugs/3082/
How about removing :tk from the list of GUIs to try in macOS? Or maybe move it to the end?
|
function find_backend(matplotlib::PyObject) |
|
gui2matplotlib = Dict(:wx=>"WXAgg",:gtk=>"GTKAgg",:gtk3=>"GTK3Agg", |
|
:qt_pyqt4=>"Qt4Agg", :qt_pyqt5=>"Qt5Agg", |
|
:qt_pyside=>"Qt4Agg", :qt4=>"Qt4Agg", |
|
:qt5=>"Qt5Agg", :qt=>"Qt4Agg",:tk=>"TkAgg") |
|
conda = PyCall.conda || !isempty(PyCall.anaconda_conda()) |
|
if Compat.Sys.islinux() |
|
guis = [:tk, :gtk3, :gtk, :qt5, :qt4, :wx] |
|
else |
|
guis = [:tk, :qt5, :qt4, :wx, :gtk, :gtk3] |
|
end |
I also suggest to install pyqt in build.jl using JuliaPy/PyCall.jl#613
It seems that there are problems using TkAgg in macOS:
#405
#399
#253 (comment)
https://discourse.julialang.org/t/pyplot-installation-error-related-to-libpython3-7m-dylib-and-libsystem-kernel-dylib/17649
Upstream issues:
matplotlib/matplotlib#7743
https://sourceforge.net/p/tktoolkit/bugs/3082/
How about removing
:tkfrom the list of GUIs to try in macOS? Or maybe move it to the end?PyPlot.jl/src/init.jl
Lines 50 to 60 in daadae4
I also suggest to install
pyqtinbuild.jlusing JuliaPy/PyCall.jl#613