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

Python 用 py2exe 编译,卡在 running py2exe,求解。

  •  
  •   kingmo888 · Feb 10, 2017 · 2050 views
    This topic created in 3392 days ago, the information mentioned may be changed or developed.

    如题,卡在第一行。 然后 CPU 跑满 25%,2 个小时不动。醉了。

    4 replies    2017-02-13 08:56:16 +08:00
    me007
        1
    me007  
       Feb 11, 2017
    2 ? 3 ?

    --------

    系统 xp x86
    python 版本 python3

    pip install pypiwin32

    pip install pyinstaller


    打包 exe 命令
    pyinstaller -F -w -i manage.ico app.py

    -F :打包为单文件
    -w : Windows 程序,不显示命令行窗口
    -i :是程序图标, app.py 是你要打包的 py 文件


    本人在这样的环境下使用, NO Problam
    Jackeriss
        2
    Jackeriss  
       Feb 11, 2017 via iPhone
    打包脚本发一下看看
    kingmo888
        3
    kingmo888  
    OP
       Feb 13, 2017
    感谢诸位。问题已经自我解决。 http://www.lizenghai.com/archives/487.html
    kingmo888
        4
    kingmo888  
    OP
       Feb 13, 2017
    @me007 是我的版本太高。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5626 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:13 · PVG 14:13 · LAX 23:13 · JFK 02:13
    ♥ Do have faith in what you're doing.