easygui choicebox报错
import easygui as gchoices = ['愿意','不愿意','有钱的时候就愿意']
reply = g.choicebox('你愿意购买资源打包来支持小甲鱼吗?',choices = choices)
Traceback (most recent call last):
File "<pyshell#8>", line 1, in <module>
reply = g.choicebox('你愿意购买资源打包来支持小甲鱼吗?',choices = choices)
File "C:\python\lib\site-packages\easygui\boxes\choice_box.py", line 38, in choicebox
mb = ChoiceBox(msg, title, choices, preselect=preselect,
File "C:\python\lib\site-packages\easygui\boxes\choice_box.py", line 123, in __init__
preselect_list = make_list_or_none(preselect, cast_type=int)
File "C:\python\lib\site-packages\easygui\boxes\choice_box.py", line 95, in make_list_or_none
if not isinstance(obj, collections.Sequence):
AttributeError: module 'collections' has no attribute 'Sequence' https://fishc.com.cn/forum.php?mod=viewthread&tid=204504&extra=page%3D1
页:
[1]