You might need to install “brew” first, so you could install numexpr in the following way.
How to install “brew”? Check out here:
Step 1. Open your terminal on Mac and type the codes below:
$ sudo pip install numexpr
Then type your password to authorize the installation. After installation, you will see something like this:
Successfully installed numexpr-2.5
Mar 14, 2016