我正在制作我的应用程序的 py2exe 版本。Py2exe 无法复制一些模块。我的原始应用程序加载.png
文件很好,但 exe 版本没有:
Traceback (most recent call last):
File "app.py", line 1, in <module>
from gui.main import run
File "gui\main.pyc", line 14, in <module>
File "gui\controllers.pyc", line 10, in <module>
File "gui\utils\images.pyc", line 78, in <module>
☺
File "gui\utils\images.pyc", line 70, in GTK_get_pixbuf
☺§☺▲☻
File "gui\utils\images.pyc", line 38, in PIL_to_pixbuf
gobject.GError: Image type 'png' is not supported
知道我应该强制 py2exe 包含什么吗?