用Py2exe打完包,在某些电脑上弹出错误,求解决方案!!!
错误触发方式为,点击浏览按钮,界面弹出:
Redirecting output to win32trace remote collector
错误提示
浏览按钮使用的系统默认的模块wx.FileDialog
[解决办法]
这样试试:
if __name__ == "__main__":
app = wx.App(redirect=False) #or 0
app.MainLoop()
发布时间: 2012-03-06 20:47:55 作者: rapoo
用Py2exe打完包,在某些电脑上弹出错误,求解决方案!!!
错误触发方式为,点击浏览按钮,界面弹出:
Redirecting output to win32trace remote collector
错误提示
浏览按钮使用的系统默认的模块wx.FileDialog
[解决办法]
这样试试:
if __name__ == "__main__":
app = wx.App(redirect=False) #or 0
app.MainLoop()