“…can't figure out the architecture type of…” problem when compiling Python C-extension with gcc?

You appear to be using a 32-bit Python 2.7, possibly installed from python.org. Because of changes in Xcode 4 (dropping of support for the 10.4u SDK and gcc-4.0) it is not practical to build C extension modules with that Python on 10.7 Lion. Either use the Apple-supplied Python 2.7 ( usr/bin/python2.7 ) or install the python.Org 64-bit/32-bit installer for 2.7.2 instead of the 32-bit-only one.

You appear to be using a 32-bit Python 2.7, possibly installed from python.org. Because of changes in Xcode 4 (dropping of support for the 10.4u SDK and gcc-4.0) it is not practical to build C extension modules with that Python on 10.7 Lion. Either use the Apple-supplied Python 2.7 (/usr/bin/python2.7) or install the python.Org 64-bit/32-bit installer for 2.7.2 instead of the 32-bit-only one.

Yup, installing the 32/64 bit 2.7.2 version solved it. Thanks much! – c00kiemonster Jul 27 at 5:48 Great.

BTW, if you plan to use Tkinter or IDLE, you should also install the latest ActiveState Tcl/Tk 8.5, if you can. The Apple-supplied version in 10.7 still has a few old bugs. – Ned Deily Jul 27 at 5:50 Thanks for the tip – c00kiemonster Jul 27 at 6:01.

I detailed how I solved this on my blog: kalikallin.tumblr.com/post/11983195781/l....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send