You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot import _tkagg on windows 64 bits on 2.7 #7953
I don't think import matplotlib.backends._tkagg can work without first loading the Tk DLLs into the process, e.g. by import _tkinter first. In practice I have never run into this error because the usual way to import the backend is import matplotlib.backends.backend_tkagg. Maybe I am missing something?
Activity
tacaswell commentedon Jan 26, 2017
How does it fail (I do not have easy access to a win64 box to test on)?
Does this also affect py3?
attn @matthew-brett @cgohlke (sorry)
cournape commentedon Jan 26, 2017
Oups, forgot that piece of info when rewriting my bug report from #6442. I am also testing on py3 now
cournape commentedon Jan 26, 2017
I updated my findings on python 3 (same result)
cgohlke commentedon Jan 26, 2017
I don't think
import matplotlib.backends._tkaggcan work without first loading the Tk DLLs into the process, e.g. byimport _tkinterfirst. In practice I have never run into this error because the usual way to import the backend isimport matplotlib.backends.backend_tkagg. Maybe I am missing something?cournape commentedon Jan 26, 2017
Ah, that makes sense. I will see if that works in embedded modes as well.
tacaswell commentedon Jan 30, 2017
@cournape Any update on this?
tacaswell commentedon Mar 13, 2017
Reported fixed in a private email.