Error when installing mpi4py

后端 未结 7 1986
死守一世寂寞
死守一世寂寞 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:12

    I met with the similar problem and fixed this by firstly

    brew install mpich
    

    And then

    pip install mpi4py
    

提交回复
热议问题