马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
抛出的异常Traceback (most recent call last):
File "D:\下载\python\学习\7.22 检测代码量.py", line 39, in <module>
eg.choicebox(title = '统计结果',msg = '您目前共积累代码%d行,完成进度 %d \n距离十万行还差%d行,请继续加油!' % (All_count_code,achievement,disparity),choices = ['【.py】源文件%d个,源代码%d行' % (file_count_py,All_count_py) ,'【.c】源文 件%d个,源代码%d行' % (file_count_c,All_count_c)]
File "D:\下载\python\lib\site-packages\easygui\boxes\choice_box.py", line 38, in choicebox
mb = ChoiceBox(msg, title, choices, preselect=preselect,
File "D:\下载\python\lib\site-packages\easygui\boxes\choice_box.py", line 123, in __init__
preselect_list = make_list_or_none(preselect, cast_type=int)
File "D:\下载\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'
这是啥意思,在告诉我GUI的choice_box.py出现问题吗??? |