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 commented on 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 commented on Jan 26, 2017
Oups, forgot that piece of info when rewriting my bug report from #6442. I am also testing on py3 now
cournape commented on Jan 26, 2017
I updated my findings on python 3 (same result)
cgohlke commented on Jan 26, 2017
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?
cournape commented on Jan 26, 2017
Ah, that makes sense. I will see if that works in embedded modes as well.
tacaswell commented on Jan 30, 2017
@cournape Any update on this?
tacaswell commented on Mar 13, 2017
Reported fixed in a private email.