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


Groups > comp.lang.python > #79380

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

Newsgroups comp.lang.python
Date 2014-10-21 06:20 -0700
References <3b3f0e97-0633-4aa0-be53-ec2ddd799ce2@googlegroups.com> <mailman.15023.1413864459.18130.python-list@python.org>
Message-ID <a273f272-4434-48e8-97cd-1da0f834b2ba@googlegroups.com> (permalink)
Subject Re: Py2App - Could not import Tkinter error from resulting app
From Noble Bell <noblebell@gmail.com>

Show all headers | View raw


On Monday, October 20, 2014 11:07:51 PM UTC-5, Terry Reedy wrote:
 
> 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

Thanks for the reply. I am using a Mac.
The problem turns out that for some reason when I installed the py2app utility it got installed under python 2.7 instead of python 3, which I am using, and that caused it to create the bundle under 2.x instead of 3.x. The result was it was trying to use python 2.x instead of 3.x syntax.

I realized this problem shortly after I posted the question and tried to go back to google groups and delete my post before anyone had seen it.

NB

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