- 老师答疑区
- 帖子详情
py2exe 无法发布文件
an-bang
发表于2017年11月22日
<p>seup.py中代码如下:</p><p><code class="brush:python;toolbar:false" >from distutils.core import setup
import py2exe
setup(console=['py2exe_learning.py']) # 保证py2exe_learnig.py 、setup.py和cmd工作文件夹为同一个</code></p><p>结果是:</p><p><code class="brush:python;toolbar:false" >IndexError: tuple index out of range</code></p>
1
回复