Py2App - Could not import Tkinter error from resulting app

Terry Reedy tjreedy at udel.edu
Tue Oct 21 06:07:24 CEST 2014


On 10/20/2014 9:29 PM, Noble Bell wrote:
> I have just created a python 3.4 application and created the setup.py file and then created an app with py2app.
>
> When I ran the resulting application I get an error in the console telling me that it could not import tkinter.
>
> Any ideas on how to correct this? Did I do something wrong?

tkinter imports _tkinter
_tkinter connects with tclx.dll and tkx.dll (x is variable)
So one possibility is no accessible tcl/tx.  I have no idea how py2app 
is supposed to handle this on your undisclosed system.

-- 
Terry Jan Reedy




More information about the Python-list mailing list