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
sylvos
V2EX  ›  Python

win7 下 python3.6 使用 py2exe 或 pyinstaller 都报 Indexerror: tuple index out of range

  •  
  •   sylvos · 2017-01-20 14:52:24 +08:00 · 7474 次点击
    这是一个创建于 2624 天前的主题,其中的信息可能已经有所发展或是发生改变。
    打包“ hello world ”也一样,都报错 Indexerror : tuple index out of range ?,请问是什么问题?谢谢
    5 条回复    2017-01-21 21:26:56 +08:00
    leavic
        1
    leavic  
       2017-01-20 15:05:03 +08:00
    因为: python 3.6 is not supported yet

    以上原文来自 pyinstaller 的 github issue 页面
    sylvos
        2
    sylvos  
    OP
       2017-01-20 15:37:02 +08:00
    @leavic 我真是太笨了,谢谢你哈
    enenaaa
        3
    enenaaa  
       2017-01-20 16:18:10 +08:00
    3.6 装个 numpy 都报错, 我已经换回 3.5 了
    mikicomo
        4
    mikicomo  
       2017-01-20 21:54:54 +08:00
    感觉 3.6 又是 py3 的分水岭了?(大雾
    aabbccli
        5
    aabbccli  
       2017-01-21 21:26:56 +08:00
    3.6 经常出各种问题,报的错也不明确,换回 3.5 吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3239 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:41 · PVG 19:41 · LAX 04:41 · JFK 07:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.