返回顶部

python 报错"ValueError: dictionary update sequence element #0 has length 6; 2 is required"

python 报错"ValueError: dictionary update sequence element #0 has length 6; 2 is required"

现象

 

 

 分析

根据报错分析,应该是字典或格式有问题,检查发现LOGGING_DIC格式有误

 

 解决方法

去掉多余字符即可,同时也警醒我们要细心谨慎操作编写,养成良好的操作习惯

 

 


posted @ 2023-03-20 22:48  九尾cat  阅读(1022)  评论(0编辑  收藏  举报