py2app错误OSX El Capitan

时间:2016-03-30 23:46:15

标签: python python-3.x osx-elcapitan py2app easygui

在别名模式下,此操作失败。

这是我正在运行的:

OSX 10.11.1 (El Capitan)

Python 3.5 via Anaconda (with the Jupyter 4.1.0 Notebook)

py2app is the newest version (0.9)

这就是我正在做的事情:

Create script and save as APP_OSX.py

Enter the following commands in terminal:

    py2applet --make-setup APP_OSX.py

    rm -rf build dist

    python setup.py py2app -A

这是在我从python.org安装了常规版本的Python 3.5.1之后(因为使用py2app和我的Anaconda Python 3.5.1版本存在问题)。

然后我在' dist'下找到了捆绑的应用程序。文件夹并打开它,弹出一个框,其中显示我的应用程序名称和"错误"。

从控制台,我明白了:

3/30/16 7:37:18.972 PM APP_OSX[5819]: 2016-03-30 19:37:18.971 APP_OSX[5819:746261] APP_OSX Error
3/30/16 7:37:21.511 PM sharedfilelistd[242]: SecTaskLoadEntitlements failed error=22
3/30/16 7:37:21.585 PM Console[5822]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
3/30/16 7:37:25.893 PM WindowServer[161]: send_datagram_available_ping: pid 349 failed to act on a ping it dequeued before timing out.
3/30/16 7:37:51.601 PM Console[5822]: Persistent UI failed to open file file:///Users/mi/Library/Saved%20Application%20State/com.apple.Console.savedState/window_3.data: Permission denied (13)

不确定这是否有帮助,但脚本使用以下库:

numpy的

熊猫

Easygui

提前致谢!

0 个答案:

没有答案