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!!! <
As the error says, there are libraries missing. I solved it by installing libopenmpi-dev package
sudo apt install libopenmpi-dev
and then installed the mpi4py using pip
sudo pip install mpi4py