gooey库报错:AttributeError: ‘function‘ object has no attribute ‘ESC‘

编程入门 行业动态 更新时间:2024-10-24 20:18:49

gooey库<a href=https://www.elefans.com/category/jswz/34/1771188.html style=报错:AttributeError: ‘function‘ object has no attribute ‘ESC‘"/>

gooey库报错:AttributeError: ‘function‘ object has no attribute ‘ESC‘

根据最后的报错信息,到指定文件中查看代码,发现是colored的函数问题。

self.esc = colored.style.ESC AttributeError: 'function' object has no attribute 'ESC'

gooey库使用的colored包版本最高只能到1.4.4

colored在2023.7进行了更新到了2.0版本,而gooey库并未适应,安装指定的color版本即可。

pip install colored==1.4.4

报错全部内容:

colored 包的更新时间线:

更多推荐

gooey库报错:AttributeError: ‘function‘ object has no attribute ‘ESC‘

本文发布于:2024-03-13 01:59:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1732931.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   AttributeError   gooey   function   ESC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!