We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c96a7d0 commit 04b4e50Copy full SHA for 04b4e50
setupext.py
@@ -843,8 +843,12 @@ def check_for_tk():
843
gotit = False
844
845
if gotit:
846
+ try:
847
+ tk_v = Tkinter.__version__.split()[-2]
848
+ except IndexError:
849
+ tk_v = 'version not identified'
850
print_status("Tkinter", "Tkinter: %s, Tk: %s, Tcl: %s" %
- (Tkinter.__version__.split()[-2], Tkinter.TkVersion, Tkinter.TclVersion))
851
+ (tk_v, Tkinter.TkVersion, Tkinter.TclVersion))
852
else:
853
print_status("Tkinter", "no")
854
if explanation is not None:
0 commit comments