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

用 Nuitka 编译 Python , DependencyWalker 分析了 1 个多小时还没分析完,是怎么回事儿?

  •  
  •   CatCode · Jan 29, 2018 · 4486 views
    This topic created in 3161 days ago, the information mentioned may be changed or developed.

    装上了 Anaconda3 64bit、VS 2017、以及对应版本的 Nuitka,
    之后执行了nuitka --standalone xxxx.py,提示需要下载 Dependency Walker,我就Yes了。
    然后下载完毕,任务管理器里也看到了Dependency Walker for Win64 (x64)的进程,约 30%左右的 CPU 占用率。
    然后我就等着它,等了一个多小时。还没跑完!

    忍不住了,怀疑是不是自己的 py 写的太复杂了。于是任务管理器杀掉。重新写了个 Hello World,再次用 Nuitka,编译,又跑了 1 个多小时,还是在Dependency Walker for Win64 (x64)。

    StackOverflow 后,居然没人提这个问题!

    请问有人遇到过和我一样的情况吗?

    图片

    3 replies  •  2018-01-29 17:48:56 +08:00
    XIVN1987
        1
    XIVN1987  
       Jan 29, 2018 via Android
    还有这东西,长见识。。不过我觉得与其把整个程序用 nuitka 编译,不如只把性能瓶颈的部分用 cython 或其他语言重写
    fwee
        2
    fwee  
       Jan 29, 2018
    看看 github issue 吧,很可能 bug
    HowardMei
        3
    HowardMei  
       Jan 29, 2018
    这东西就是个玩具,3 年前试过没编译成功,现在估计被弃坑了吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2584 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:00 · PVG 21:00 · LAX 06:00 · JFK 09:00
    ♥ Do have faith in what you're doing.