guided-diffusion icon indicating copy to clipboard operation
guided-diffusion copied to clipboard

ImportError: DLL load failed while importing MPI: The specified procedure could not be found.

Open cjyu81 opened this issue 3 years ago • 6 comments

Running into the titular error message. Running on Windows 10 Installed MPI 10.1 from Microsoft Using Python=3.8.13 environment. Used pip to install mpi4py==3.1.3. Did a pip install of the requirements.txt in the evaluations folder.

Is there a yml file or environment I can clone? How can I fix this?

cjyu81 avatar Apr 09 '22 20:04 cjyu81

Do you have MPI installed on your computer (mpi4py requires this to work properly) ?

gangrel2321 avatar Apr 11 '22 14:04 gangrel2321

Installed MPI 10.1 from Microsoft. Updated error description with this info.

cjyu81 avatar Apr 11 '22 20:04 cjyu81

I am facing similar issue I have tried installing mpi4py from pip and pip3 Online forums also suggest similar problems in installation

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for mpi4py

Failed to build mpi4py ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects

KomputerMaster64 avatar Jul 19 '22 06:07 KomputerMaster64

I found the following command useful as one of the forums suggested to install using conda-forge

conda install -c conda-forge mpi4py

KomputerMaster64 avatar Jul 19 '22 06:07 KomputerMaster64