【发布时间】:2013-11-03 18:56:36
【问题描述】:
我用 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 的安装。
这里发生了什么以及如何避免这种情况?
【问题讨论】:
-
这与 tkinter 无关。这些与 log4cplus 库有关。
标签: python tkinter xlrd log4cplus