推荐学习书目
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
RqPS6rhmP3Nyn3Tm
V2EX  ›  Python

py2app (使用了 PyQt5)打包出现问题,求各位帮助

  •  
  •   RqPS6rhmP3Nyn3Tm · Mar 8, 2016 · 4733 views
    This topic created in 3717 days ago, the information mentioned may be changed or developed.

    事情是这样的, virtualenv 一切都配置妥当以后按国际惯例,打包:

    python setup.py py2app

    打出的包无法运行,直接崩溃,日志长这样:
    https://gist.github.com/anonymous/5e59755f661a8c21f2c7
    我猜可能是 PyQt5 的问题, any ideas?

    6 replies    2016-03-10 10:26:30 +08:00
    ming2281
        2
    ming2281  
       Mar 8, 2016
    先查查这个包是否支持 PyQt5,
    如果不,可能要降级 PyQt4
    RqPS6rhmP3Nyn3Tm
        3
    RqPS6rhmP3Nyn3Tm  
    OP
       Mar 8, 2016 via iPad
    @ming2281 Google 了一圈, py2app 是有人使用过 PyQt5 的先例的,我猜应该是支持的。
    实在是不想用 py2objc 这种不跨平台的东西……求支援
    RqPS6rhmP3Nyn3Tm
        5
    RqPS6rhmP3Nyn3Tm  
    OP
       Mar 9, 2016 via Android
    @andrewliu117 这不就是我自己的…
    andrewliu117
        6
    andrewliu117  
       Mar 10, 2016
    @BXIA 不还意思,我只是好奇那个显示 gist 代码的按钮是你写的,还是自动生成了

    没想到发了贴以后不能删除。伤。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   934 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:50 · PVG 04:50 · LAX 13:50 · JFK 16:50
    ♥ Do have faith in what you're doing.