我正在尝试在 mac 上安装 mpi4py,但遇到以下错误:
搜索 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。
任何机构都知道解决方案是什么?