Can any one help me solve this? I've been struggling for days trying to make a working .exe file from one of my python scripts... All of the problems have been with Tkinter. It works perfectly fine when I use it in my script, but when I use py2exe or cx_freeze, it fails to import it.

I've tried using GUI2Exe as well, but no luck. In GUI2Exe, I put "Tkinter" as either a module or a package and both failed: ImportError: No module named Tkinter.

I've even added a path to C:/Python27/Lib/lib-tk but still no luck... I can import Tkinter fine in my scripts or from the command line though... Any help??? I'm seriously becoming desperate.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.