Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
FIX: search for tkinter first in builtins #7433
+10
−1
Conversation
matthew-brett
referenced
this pull request
Nov 9, 2016
Closed
from matplotlib.backends import _tkagg raises AttributeError: 'module' object has no attribute '__file__' #7428
QuLogic
added the
GUI/tk
label
Nov 9, 2016
tacaswell
changed the title from
FIX: search for tkinter first in builtins to [MRG+1] FIX: search for tkinter first in builtins
Nov 9, 2016
tacaswell
modified the milestone: 2.0.1 (next bug fix release), 2.1 (next point release), 2.0 (style change major release)
Nov 9, 2016
NelleV
merged commit 10f1522
into matplotlib:master
Nov 9, 2016
NelleV
added a commit
that referenced
this pull request
Nov 9, 2016
|
|
NelleV |
033c3f2
|
|
Backported as 033c3f2 Thanks @matthew-brett ! |
QuLogic
changed the title from
[MRG+1] FIX: search for tkinter first in builtins to FIX: search for tkinter first in builtins
Nov 9, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
matthew-brett commentedNov 9, 2016
Python compiled from Python.org source builds the tkinter module as a
built-in module, not an external module, as is the case for the packaged
builds of Debian etc:
This breaks the MPL algorithm for searching for tkinter symbols, which
loaded the external module .so file to get the symbols.
Try searching in the main program namespace for the tkinter symbols,
before looking for the extermal module .so file.
Thanks to github user ettaka for reporting : see
#7428