1.Install pip in MacOS terminal, you can run the code:
sudo easy_install pip
Then if your mac has a password, you should input your password
( hint: the terminal will hide your password, so just type it and +”enter”)
When you see this “Finished processing dependencies for pip”, the pip is installed.
2.Then, install numpy, run the code:
sudo -H pip3 install numpy
When you see this “Successfully installed numpy-1.10.4”, the numpy is installed.
Thanks to the blog : install_numpy_for_mac