Bevor ich beginne, habe ich diese question ausgecheckt und ich habe bereits eine windows=[]
in meinem setup.py. Beachten Sie, dass ich das Skript benannt habe, das ich Tkinter.py konvertieren möchte.Py2exe fehlende Module beim Bündeln
Hier ist meine setup.py:
from distutils.core import setup
import py2exe
setup(
windows=['Tkinter.py'],
options={
"py2exe":{
"bundle_files":1,
}
}
)
Hier ist der Fehler:
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.
Ich versuche, es läuft alles auf eine EXE-Datei zu bündeln. Ich schätze die Hilfe!