小子XZ 发表于 2020-4-16 14:27:36

Pyhton3.8 easygui 0.98 enterbox()报错无法使用

>>> import easygui as g
>>> g.enterbox('11111')

Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
    g.enterbox('11111')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\easygui-0.98.1-py3.8.egg\easygui\boxes\derived_boxes.py", line 349, in enterbox
    result = __fillablebox(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\easygui-0.98.1-py3.8.egg\easygui\boxes\fillable_box.py", line 120, in __fillablebox
    commandButton.bind("<{}>".format(selectionEvent), handler)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 1383, in bind
    return self._bind(('bind', self._w), sequence, func, add)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 1337, in _bind
    self.tk.call(what + (sequence, cmd))
_tkinter.TclError: bad event type or keysym "MS"
页: [1]
查看完整版本: Pyhton3.8 easygui 0.98 enterbox()报错无法使用