2017-05-16 2 views
0

私が起動する前に、私はquestionをチェックアウトしました。すでにがsetup.pyにあります。私はTkinter.pyに変換したいスクリプトに名前をつけました。ここでPy2exeにバンドル時のモジュールがありません

from distutils.core import setup 
import py2exe 

setup(
    windows=['Tkinter.py'], 
    options={ 
     "py2exe":{ 
      "bundle_files":1, 

     } 
    } 
) 

エラーです:

は、ここに私のsetup.pyだ

C:\Users\Julian\Desktop\Tkinter>python setup.py py2exe 
running py2exe 

    3 missing Modules 
    ------------------ 
? readline       imported from cmd, code, pdb 
? win32api       imported from platform 
? win32con       imported from platform 
The following modules require a minimum bundle_files option, 
otherwise they will not work (currently bundle_files is set to 1): 
    tkinter: 2 

Please change the bundle_files option and run the build again. 
Build failed. 

私は1つのexeファイルに至るまで、すべてをバンドルしようとしています。私は助けに感謝します!

答えて

0

不足しているモジュールの問題を無視してください。彼らは何の問題も起きません。バンドリングの問題については、バンドルの値を2に変更するだけで私の仕事ができました。

関連する問題