robertlugg / easygui

easygui for Python
http://easygui.readthedocs.org/en/master/
BSD 3-Clause "New" or "Revised" License
458 stars 115 forks source link

EasyGui 0.98.3 on Python 3.6.8 #226

Open dddachui opened 3 months ago

dddachui commented 3 months ago
[root@localhost Desktop]# python3
Python 3.6.8 (default, Apr 26 2020, 09:34:21) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import easygui
>>> easygui.ynbox('Shall I continue?', 'Title', ('Yes', 'No'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib64/python3.6/site-packages/easygui/boxes/derived_boxes.py", line 59, in ynbox
    cancel_choice=cancel_choice)
  File "/usr/local/lib64/python3.6/site-packages/easygui/boxes/derived_boxes.py", line 138, in boolbox
    cancel_choice=cancel_choice)
  File "/usr/local/lib64/python3.6/site-packages/easygui/boxes/button_box.py", line 102, in buttonbox
    callback=callback)
  File "/usr/local/lib64/python3.6/site-packages/easygui/boxes/button_box.py", line 147, in __init__
    self.ui = GUItk(msg, title, choices, images, default_choice, cancel_choice, self.callback_ui)
  File "/usr/local/lib64/python3.6/site-packages/easygui/boxes/button_box.py", line 263, in __init__
    self.boxRoot = tk.Tk()
  File "/usr/lib64/python3.6/tkinter/__init__.py", line 2023, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"