Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 使用--窗口模式调试PyOS X应用程序安装程序_Macos_Python 3.x_Pyinstaller - Fatal编程技术网

Macos 使用--窗口模式调试PyOS X应用程序安装程序

Macos 使用--窗口模式调试PyOS X应用程序安装程序,macos,python-3.x,pyinstaller,Macos,Python 3.x,Pyinstaller,我试图用pyinstaller打包wxPython GUI,但遇到了一些需要调试的问题 一个包含我所有依赖项的最小wxPython应用程序运行正常,但我的GUI更复杂,我不知道哪一部分出现故障。Pyinstaller一直运行到完成,错误最少,所以我希望使用--debug标志 从: 通常,调试进度消息会转到标准输出。如果捆绑Windows应用程序时使用--windowed选项,则它们将显示为MessageBox。对于带窗口的Mac OS应用程序,它们不会显示 有办法解决这个问题吗?我通过临时更新我

我试图用pyinstaller打包wxPython GUI,但遇到了一些需要调试的问题

一个包含我所有依赖项的最小wxPython应用程序运行正常,但我的GUI更复杂,我不知道哪一部分出现故障。Pyinstaller一直运行到完成,错误最少,所以我希望使用--debug标志

从:

通常,调试进度消息会转到标准输出。如果捆绑Windows应用程序时使用--windowed选项,则它们将显示为MessageBox。对于带窗口的Mac OS应用程序,它们不会显示

有办法解决这个问题吗?我通过临时更新我的程序将stdout/stderr重定向到一个文件来进行部分调试,但是如果知道是否有办法使用--windowed选项在Mac上获取Pyinstaller调试消息,那就太好了