Mac mpi4py installation issue

I am using Python 2.7.5 and have installed openmpi-1.8.4.

However when i try and build mpi4py-1.3.1 using '$ python setup.py build’ in terminal as outlined in the file**‘docs/source/usrman/install.rst’**, i get the error pasted in the text document attached. See below for the final few lines for convenience:

error_message.txt (1.97 KB)

Hi Gabriel,

As this is an mpi4py problem you’re probably better off e-mailing the
mpi4py mailing list. It does however look like some 32-bit code is
finding its way into the toolchain. This may be because either
Python/OpenMPI have been built as 32-bit applications.

Regards, Freddie.

Thanks for the quick response Freddie,

I’ll repost on the mpi4py mailing list.

Regards, Gabriel