py2app gui错误

时间:2012-06-16 16:21:30

标签: python user-interface wxpython py2app

我有一个非常简单的gui app:http://pastebin.com/aVVTBJPd

这是用Python和wxPython编写的。它在我的Mac上运行良好。

我试过运行py2app。以下是我的确切步骤:

$ py2applet --make-setup gui.py
$ #returns "Wrote setup.py" (this appears to have been successful)
$ python setup.py py2app #this prints out A LOT of stuff in the terminal, also 
$ #seems to be working ok

然后,我进入我的dist目录,双击gui.app,立即收到gui错误。

enter image description here

以下是控制台中出现的内容:

enter image description here

我做错了什么?

0 个答案:

没有答案
相关问题