I\'m trying to install mpi4py using pip install mpi4py, but I\'m getting the following error:
error: Cannot find \'mpi.h\' header. Check your configuration!!!
<
If mpi4py cannot find mpi.h, then likely the problem is how you are pointing mpi4py to your existing mpi library.
$ python setup.py build --mpicc=/where/you/have/mpicc
Now, there there are a few special cases related to OS X. You should consult http://mpi4py.scipy.org/docs/usrman/install.html to see if any apply to you.