Error when installing mpi4py

后端 未结 7 2167
死守一世寂寞
死守一世寂寞 2021-02-02 07:19

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!!!
<         


        
7条回答
  •  感动是毒
    2021-02-02 08:19

    first post here and new to python , sorry if im off topic.

    i finally installed mpi4py

    1) by downloading the right version from here https://www.lfd.uci.edu/~gohlke/pythonlibs/#mpi4py

    2) open cmd ,change directory to where the downloaded file is

    3) pip install some-package.whl ( How do I install a Python package with a .whl file? )

提交回复
热议问题