我有一个非常简单的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错误。
以下是控制台中出现的内容:
我做错了什么?