Python 使用 wxpython ,打包成 mac 使用的 app,无法运行。

2021-09-17 11:39:34 +08:00
 Seven2021

python 使用 wxpython,打包成 mac 使用的 app,无法运行。点击了 app,立刻又被关闭了,感觉像 kill 调了.请问有人知道原因吗

926 次点击
所在节点    Python
5 条回复
deplivesb
2021-09-17 19:03:07 +08:00
一行代码也没有,一个日志也没有,真就是云调试呗
aristolochic
2021-09-17 20:03:01 +08:00
@zhangdeplives 哪怕是给未上市保密机器调试 BIOS 都没这个悬丝号脉,至少人家给个小笔记本连着呢( x
(再说未上市 PC 上市了能挣钱,Python 打包的 App 就不一定了
Seven2021
2021-09-18 10:32:01 +08:00
@zhangdeplives
This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac.
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions... 4 completed.

无反应
oldworldblue
2021-09-20 01:26:50 +08:00
你是不是忘了一个东西

frame = wx.Frame()
Seven2021
2021-09-22 10:22:05 +08:00
@oldworldblue 这个是有的,不然开发怎么进行呢

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/802501

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX