【问题标题】:Tcl error : invalid command name tcl_findLibraryTcl 错误:无效的命令名称 tcl_findLibrary
【发布时间】:2013-07-07 22:36:35
【问题描述】:

当我键入以下命令(使用 iPython)Tkinter.Tk()%pylabplot ..... 或通常运行 pylab 但 import pylab 不会触发任何错误时,会出现此错误。

Tcl error : invalid command name tcl_findLibrary

据我所知,Windows 的 Python 安装程序已经包含完整的 Tcl/Tk 安装,所以除了常规的 Python 安装程序,我没有使用任何其他东西。

操作系统是 x64,但我使用 x32 安装程序,因为一些额外的 python 库没有 x64 版本。

Python 2.7.5 x32 操作系统:Windows7-x64

【问题讨论】:

  • 肯定少了点什么。检查here。我希望它会有所帮助。
  • 感谢您的回复。我之前看过那个链接,但不幸的是它没有用,但对于软重置这个词我已经尝试了所有。

标签: python windows matplotlib tkinter windows-7-x64


【解决方案1】:

我想通了,我需要从环境变量中删除tcl_librarytk_library。 虽然在放置它们之前 pylab 触发了一个错误,说它找不到一些 tcl 文件,并且放置它们解决了该错误但触发了这个错误。

【讨论】:

    猜你喜欢
    • 2017-10-04
    • 1970-01-01
    • 1970-01-01
    • 2020-08-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-05-15
    相关资源
    最近更新 更多