V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Seven2021
V2EX  ›  Python

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

  •  
  •   Seven2021 · 2021-09-17 11:39:34 +08:00 · 901 次点击
    这是一个创建于 923 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    deplivesb
        1
    deplivesb  
       2021-09-17 19:03:07 +08:00
    一行代码也没有,一个日志也没有,真就是云调试呗
    aristolochic
        2
    aristolochic  
       2021-09-17 20:03:01 +08:00
    @zhangdeplives 哪怕是给未上市保密机器调试 BIOS 都没这个悬丝号脉,至少人家给个小笔记本连着呢( x
    (再说未上市 PC 上市了能挣钱,Python 打包的 App 就不一定了
    Seven2021
        3
    Seven2021  
    OP
       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
        4
    oldworldblue  
       2021-09-20 01:26:50 +08:00
    你是不是忘了一个东西

    frame = wx.Frame()
    Seven2021
        5
    Seven2021  
    OP
       2021-09-22 10:22:05 +08:00
    @oldworldblue 这个是有的,不然开发怎么进行呢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1065 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 19:02 · PVG 03:02 · LAX 12:02 · JFK 15:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.