ImportError: DLL load failed while importing MPI: 找不到指定的模块
报错
from mpi4py import MPI报错,提示ImportError: DLL load failed while importing MPI: 找不到指定的模块。
解决方法
1.下载MS MPI,同时安装.mis和SDK。
2.设置环境变量
控制面板–>;高级系统设置–>;环境变量–>;添加
(1) C:\ProgramFiles(x86)\Microsoft SDK\MPI和
(2) C:\Program Files\Microsoft MPI\Bin。 这是我的pah,您可能需要在此处更改路径。