我想在Mac上安裝mpi4py,但我面臨着以下錯誤:mpi4py安裝在Mac
搜索mpi4py
Best match: mpi4py 1.2.2
Downloading http://mpi4py.googlecode.com/files/mpi4py-1.2.2.tar.gz
Processing mpi4py-1.2.2.tar.gz
Running mpi4py-1.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-HNJHvI/mpi4py-1.2.2/egg-dist-tmp-eL_Hte
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.5.sdk Please check your Xcode installation
_configtest.c:1:20: error: stdlib.h: No such file or directory
error: Setup script exited with error: Cannot compile/link MPI programs. Check your configuration!!!
注意,我之前安裝了openmpi。
任何機構都知道什麼是解決方案?
你是否按照這些指示? http://mpi4py.scipy.org/docs/usrman/appendix.html#mac-os-x-and-universal-sdk-python-builds – CharlesB