Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79366

Re: Py2App - Could not import Tkinter error from resulting app

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Py2App - Could not import Tkinter error from resulting app
Date 2014-10-21 00:07 -0400
References <3b3f0e97-0633-4aa0-be53-ec2ddd799ce2@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.15023.1413864459.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Py2App - Could not import Tkinter error from resulting app Noble Bell <noblebell@gmail.com> - 2014-10-20 18:29 -0700
  Re: Py2App - Could not import Tkinter error from resulting app Terry Reedy <tjreedy@udel.edu> - 2014-10-21 00:07 -0400
    Re: Py2App - Could not import Tkinter error from resulting app Noble Bell <noblebell@gmail.com> - 2014-10-21 06:20 -0700
      Re: Py2App - Could not import Tkinter error from resulting app Skip Montanaro <skip.montanaro@gmail.com> - 2014-10-21 08:37 -0500

csiph-web