Install pillow on Mac OSX 10.9

I tried to install the Python image library pillow on my Mac, but it didn't work with the following error.

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

error: command 'cc' failed with exit status 1

When I googling, it seems that there are many people who get the same error on OSX 10.9.

For the time being, I looked here and solved it, so I made a note immediately. http://stackoverflow.com/questions/22334776/installing-pillow-pil-on-mavericks

Command typed ↓

sudo bash
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
pip install pillow

I'm not sure, but it worked after I passed about two passes.

Recommended Posts

Install pillow on Mac OSX 10.9
Install Tensorflow on Mac
Install pyenv on mac
Install Ansible on Mac
Install Python on Mac
Install Python 3 on Mac
Install Python 3.4 on Mac
Install Caffe on Mac
Install pyenv on OSX
Install mecab on mac
Install mecab-python on Mac
Install pygame on python3.4 on mac
Install module on Anaconda (Mac)
Install OpenPose on mac (Catalina)
Install numba on your Mac
Install Django on your Mac
Pyenv on Mac OSX Mavericks
[Mac] Tips: Install pyquery on Mac [pyquery]
install pillow
Install Python Pillow on Amazon Linux
Install anaconda on Mac → Add Library
Steps to install matplotlib on Mac
Install Sphinx on Mac OS X
Install Python 3.7 Anaconda on MAC, but Python 2
Install Scipy on Mac OS Sierra
How to install OpenCV on Mac
Install mitmproxy on Mac OS X
Install VirtualBox on CentOS 7 on VirtualBox (mac + vagrant)
Steps to install python3 on mac
Install pgmagick on Mac OS X 10.9
Install opencv on Mac using Anaconda Navigator
How to install drobertadams / toggl-cli on Mac
python on mac
Install anaconda on a new Mac anyway
How to install OpenGM on OSX with macports
Put Python 2.7.x on Mac OSX 10.15.5 with pyenv
Install mecab on Marvericks
Install TensorFlow on Ubuntu
Install python on WSL
Install Faiss on CentOS 7
Install pip on Mavericks
Install Python on Pidora.
Install mongodb on termux
Install Scrapy on python3
Install docker on Fedora31
Pyenv + virtualenv on Mac
Install numba on CentOS 7.2
Install Plone (4.3.6) on MacOSX (10.10.3)
Install PySide2 on Ubuntu
Install Python3.4 on CentOS 6.6
numba installation on mac
Install gensim on Marvericks
Install JModelica on Ubuntu
Install Anaconda on Windows 10
Install numpy on Marvericks
Install python on windows
Install enebular-agent on Chromebook
Install pycuda on Windows10
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
Run OpenMVG on Mac