我用 python 编写了一个小程序,它使用 xlrd 和用于打开/保存文件的 tkinter 文件对话框从 .xls 电子表格中提取数据。今天早些时候,程序运行良好,但我最近在我的笔记本电脑上安装了 Autocad Electrical 2014 工作,现在当我运行 python 脚本时,当脚本拉出对话框时出现以下错误:
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
log4cplus:ERROR No appenders could be found for logger (AdSyncNamespace).
log4cplus:ERROR Please initialize the log4cplus system properly.
从这个脚本运行到我收到错误之间唯一发生变化的是 AutoCAD 的安装。
这是怎么回事,如何避免?
最佳答案
这个错误已经出现过几次了。似乎有一个叫做 Autodesk 360 的东西可以卸载,这解决了问题。
关于python - log4cplus:调用 tkinter 文件对话框时 python 中的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19576586/