http://pythonhosted.org/mpi4py/
$ mpiexec -n 5 python script.py
Version 2.0.0
apt install libopenmpi-dev
pip install mpi4py
Module mpi4py needs file mpi.h to compile. It can be found in libopenmpi-dev and similar.
There is also older version 1.3.1 in Linux repository which doesn't need compilation
apt install python-mpi4py
apt install python3-mpi4py
Other packages with mpi.h: Ubuntu packages