- Install numpy (1.18.2)
pip install numpy==1.18.2
- Get build tools
xcode-select --install
May have to accept license with:
sudo xcodebuild -license
- Install Pillow (used by Matplotlib) build deps
brew install zlib freetype harfbuzz fribidi libtiff libjpeg webp little-cms2
- Symlink zlib headers
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/zlib.h /usr/local/include/zlib.h
- Install Matplotlib
pip install matplotlib==3.3.2