Easy steps to install mpi4py package on Mac

Package Information:

Application Name – mpi4py
What is mpi4py – Not Available for mpi4py
Use of mpi4py – Python bindings for MPI
URL – https://mpi4py.readthedocs.io

Installation Steps:

  1. Open Terminal using Spotlight search by pressing  <command+space>. Type terminal and hit  Enter  key.
  2. spotlight search terminal

  3. Now, run following command to install homebrew (brew)
  4. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

    Homebrew Install Command Screenshot

  5. Install mpi4py using brew
    brew install mpi4py

mpi4py  is ready to use now!