【问题标题】:pyinstaller with matplotlib windows带有 matplotlib 窗口的 pyinstaller
【发布时间】:2016-03-08 07:42:31
【问题描述】:

我使用 pyinstaller 生成带有 matplotlib exe 文件的 pythion 程序 exe 生成良好,但使用 exe 时出现错误,提示 no module named 'tz' 什么意思?

我已经用 numby 和 pyqt4 没有 matplotlib 的程序测试了 pythinstaller,它工作得很好enter image description here! )

【问题讨论】:

    标签: matplotlib pyinstaller


    【解决方案1】:

    我在 Cecil Curry 提供的 pyinstaller git hub 上找到了解决方案。 它是: 这是一个已知的问题。不幸的是,python-dateutil 2.5.0 目前在 PyInstaller 方面被破坏了。

    在 python-dateutil 发布纠正此问题的新稳定版本之前,请考虑暂时降级到 python-dateutil 2.4.2。对于给您带来的轻微不便,我们深表歉意——不过,感谢您抽出宝贵时间报告此事。

    我已经测试过了,它可以工作

    【讨论】:

      猜你喜欢
      • 2021-04-17
      • 2019-07-28
      • 1970-01-01
      • 2020-05-10
      • 2021-02-27
      • 1970-01-01
      • 2011-01-09
      • 2023-03-03
      • 2014-08-30
      相关资源
      最近更新 更多