जहां तक मुझे पता है, cx_freeze
एकमात्र ऐप है जो पाइथन स्क्रिप्ट को .exe
फ़ाइलों में बनाने में सक्षम है।cx_freeze: निम्न निर्देशिकाओं में उपयोग करने योग्य init.tcl नहीं मिल सकता है
> _tkinter.TclError: Can't find a usable init.tcl in the following directories:
> {C:\Users\User\Desktop\tkinter\build\exe.win32-3.1\tcl}
> C:/Users/User/Desktop/tkinter/build/exe.win32-3.1/tcl8.5
> C:/Users/User/Desktop/tkinter/build/lib/tcl8.5
> C:/Users/User/Desktop/tkinter/build/lib/tcl8.5
> C:/Users/User/Desktop/tkinter/lib/tcl8.5
> C:/Users/User/Desktop/tkinter/build/library
> C:/Users/User/Desktop/tk inter/library
> C:/Users/User/Desktop/tkinter/tcl8.5.2/library
> C:/Users/User/Desktop/tcl8.5.2/library
> This probably means that Tcl wasn't installed properly.
मैं साधारण सेटअप cx_freeze विकल्प का उपयोग कर रहा हूँ: हालांकि, मैं अजगर 3. में और एक सरल Tkinter जीयूआई ठंड और exe चलाने के बाद एक जीयूआई exe
करना चाहते हैं, मैं निम्नलिखित त्रुटि मिलती है।
मेरे cx_freeze exe बंडल निम्न निर्देशिका में सेव है:
C:\Users\User\Desktop\tkinter\build\exe.win32-3.1
फ़ाइलें हैं:
_ctypes.pyd
_tkinter.pyd
basicLABEL.exe
library.zip
python31.dll
tcl85.dll
tk85.dll
unicodedata.pyd
मैंने एक पायथन 2.6 और 2.7 .exe बनाने के लिए cx_Freeze का उपयोग किया है, यह निश्चित रूप से संभव है। – Seth