-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
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?
Lines 50 to 60 in daadae4
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
oyd11 and MaxandreJ
Metadata
Metadata
Assignees
Labels
No labels