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.
2 parents 5173321 + 04b4e50 commit 9bcca38Copy full SHA for 9bcca38
setupext.py
@@ -762,8 +762,12 @@ def check_for_tk():
762
gotit = False
763
764
if gotit:
765
+ try:
766
+ tk_v = Tkinter.__version__.split()[-2]
767
+ except IndexError:
768
+ tk_v = 'version not identified'
769
print_status("Tkinter", "Tkinter: %s, Tk: %s, Tcl: %s" %
- (Tkinter.__version__.split()[-2], Tkinter.TkVersion, Tkinter.TclVersion))
770
+ (tk_v, Tkinter.TkVersion, Tkinter.TclVersion))
771
else:
772
print_status("Tkinter", "no")
773
if explanation is not None:
0 commit comments