Ticket #1328 (new bug)

Opened 12 months ago

"Wrong architecture" error with Python script

Reported by: LouisLiu Owned by:
Milestone: Component: new-canvas
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


Orange version:  http://orange.biolab.si/download/orange-bundle-hg-0.0.11717.dmg OS Version: OS X 10.8.5

When I tried to execute the following Python script in Cavas:

from Tkinter import Tk
from tkFileDialog import askopenfilename

And I got the following message:

Running script:
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "<string>", line 1, in <module>
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: dlopen(/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so, 2): no suitable image found.  Did find:
	/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so: mach-o, but wrong architecture

Note: See TracTickets for help on using tickets.