[PYTHON] Install NumPy, SciPy, Matplotlib with Homebrew on OS X (as of November 2015)

Summary

I installed the software of the subject referring to the following, but I was a little addicted to it, so I wrote it as an article

SciPy installation

As per the original article, install the following:

brew update
brew install python3
pip3 install --upgrade setuptools
pip3 install --upgrade pip
brew linkapps
pip3 install numpy

I'm addicted to it here.

It was good so far, but I got an error when installing gfortran. According to him, gfortran was absorbed in the gcc package.

So instead of brew install gfortran

brew install gcc

Then go back to the original article

easy_install cython
brew install swig
pip3 install git+http://github.com/scipy/scipy/

You have now installed SciPy.

matplotlib

Are you addicted to here? Part 2. In the original article, the freetype path was not good and I put a symbolic link, It seems unnecessary now.

brew install freetype
# sudo ln -s /usr/local/include/freetype2 /usr/include/freetype ##No need!
pip3 install matplotlib

IPython

As in the original article, you can install it with:

pip3 install ipython

Reference article

Recommended Posts

Install NumPy, SciPy, Matplotlib with Homebrew on OS X (as of November 2015)
Install PyQt5 with homebrew on Mac OS X Marvericks (10.9.2)
How to install Theano on Mac OS X with homebrew
Install matplotlib on OS X El Capitan
Very easy to install SciPy on Mac OS X
How to install caffe on OS X with macports
Install Sphinx on Mac OS X
Install Scipy on Mac OS Sierra
Steps to install the latest version of OpenCV on OS X El Capitan without Homebrew
Install mitmproxy on Mac OS X
Install pgmagick on Mac OS X 10.9
scipy stumbles with pip install on python 2.7.8
Install CVXOPT, NumPy, SciPy on Travis CI
Install and run Python3.5 + NumPy + SciPy on Windows 10
Install Python3, numpy, pandas, matplotlib, etc. on Windows
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
Using Intel MKL with NumPy / SciPy (November 2019 version)
Install shogun with python modular (OS X Yosemite)
Install Python 3 on MacOS Catalina (with Homebrew only)
Put Scipy + Matplotlib in Ubuntu on Vagrant and display the graph with X11 Forwarding
Using multiple versions of Python on Mac OS X (2) Usage
See the power of speeding up with NumPy and SciPy
Test Python with Miniconda on OS X and Linux with travis-ci
Using Docker (Hyper-V) with PyCharm on Windows 10 (as of August 2017)
Install Numpy on virtualenv on Windows
Install tomcat 9 on Cent OS 8
Memo on Mac OS X
Install Homebrew on Amazon Linux 2
Get started with the Python framework Django on Mac OS X
Using multiple versions of Python on Mac OS X (1) Multiple Ver installation
How to install Theano on Mac OS X 10.10 (using pyenv, anaconda)