|

楼主 |
发表于 2022-2-17 11:07:58
|
显示全部楼层
我报错信息有四个文件,都改吗?
Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\新建文本文档.py", line 11, in <module>
choice = g.choicebox(msg, title, choices)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\easygui\boxes\choice_box.py", line 38, in choicebox
mb = ChoiceBox(msg, title, choices, preselect=preselect,
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\lib\site-packages\easygui\boxes\choice_box.py", line 123, in __init__
preselect_list = make_list_or_none(preselect, cast_type=int)
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\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' |
|