I recently installed Python2.7 on MacOs 10.6.8. I’m having a problem importing tkinter. I keep gettig this ‘no matching architecture in universal wrapper’ message which means that the version of Tkinter is incorrect.
What I did, I followed the instructions here, downloaded ActiveTcl 8.5.11 for 32/64bits MacOs architecure and installed it, but nothing really changed. I deleted and reinstalled the interpreter afet that too.
What should I do?
You can install python which can support both 32bit & 64 bit architecture from
http://python.org/download/releases/2.7.2/
Also after installing TCL from the link that you have mentioned. You can try the following to check which architecture is suitable
or
This may help you resolve the issue.
Note from the link: As of this writing, the Python 3.2.x 64-bit/32-bit and 2.7.x 64-bit/32-bit Mac OS X installers are built with Intel-64 (x86_64) and Intel-32 (i386) architectures and a minimum deployment target of Mac OS X 10.6. The Apple 8.5.9 and ActiveTcl 8.5.11 releases discussed below are compatible with these installers.