Re: Py2App - Could not import Tkinter error from resulting app
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 -- https://mail.python.org/mailman/listinfo/python-list
Re: Py2App - Could not import Tkinter error from resulting app
On Tue, Oct 21, 2014 at 8:20 AM, Noble Bell nobleb...@gmail.com wrote: 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. In general, that won't work, as lots of people use email ( python-list@python.org) or Usenet (comp.lang.python) to read the group. In fact, Google Groups is very much a latecomer to the party. More importantly, just because you made a mistake doesn't mean you should delete your message. Other people might make the same mistake and learn from your post what the solution is. Skip -- https://mail.python.org/mailman/listinfo/python-list
Py2App - Could not import Tkinter error from resulting app
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? -- https://mail.python.org/mailman/listinfo/python-list
Re: Py2App - Could not import Tkinter error from resulting app
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 -- https://mail.python.org/mailman/listinfo/python-list