[PYTHON] What to do if pip install fails in Xcode 5.1

I get the following error

clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/usr/include/libxml2 -I/private/tmp/pip-build-root/lxml/src/lxml/includes -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.macosx-10.8-intel-2.7/src/lxml/lxml.etree.o -w -flat_namespace

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 'clang' failed with exit status 1

The countermeasures are as follows.

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install

According to StackOverFlow

Recommended Posts

What to do if pip install fails in Xcode 5.1
Note: What to do if pip install fails
What to do if pip install fails to install dependent libraries
What to do if `pip install matplotlib` fails on Mac
What to do if pip install mysqlclient fails on MacOS
What to do if you can't pip install mysqlclient
What to do if a UnicodeDecodeError occurs in pip
What to do if you can't install with pip in babun environment
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if pip gives a DistributionError in Homebrew
What to do if you can't install pyaudio with pip #Python
What to do if you get a UnicodeDecodeError with pip install
What to do if pipreqs results in UnicodeDecodeError
What to do if pip cannot be installed
What to do if SciPy installation fails on CentOS
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
What to do if yum breaks
What to do with Magics install
What to do if you get "coverage unknown" in Coveralls
What to do if a 0xC0000005 error occurs in tf.train.start_queue_runners ()
What to do if package installation fails when deploying to heroku
What to do if you can't log in as root
What to do if you get a minus zero in Python
`pip install pygraphviz` fails to find graphviz
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if you can't use the trash in Lubuntu 18.04.
What to do if pip --user returns an error in a virtual environment created with pyenv
What to do if there is a decimal in python json .dumps
What to do if you can't find PDO in Laravel or CakePHP
What to do if you can't use scikit grid search in Python
What to do if the yum command fails to set locale, defaulting to C
What to do if you get lost in file reference with FileNotFoundError
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if pyenv install does not proceed with an error
What to do if No Python documentation found for ... appears in pydoc
What to do if you get Could not fetch URL 443 with pip
[OSX] [pyenv] What to do when an SSL error occurs in pip
What to do when a warning message is displayed in pip list
What to do if you can't pipenv shell
How to install pip, numpy in Autodesk MAYA
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do if rails s doesn't work
What to do if atom autocomplete-python doesn't work
What to do to get google spreadsheet in python
What to do if Docker-sync suddenly stops working
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
How to install pip
What to do if a symbolic link error occurs in import cv while trying to install OpenCV in Python
When pip install fails
What to do if you get a "No versions found" error in pipenv
What to do when SSL error occurs in pip in Windows10, miniconda, VScode environment
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if a Unicode Encode Error occurs in Sublime Text Python
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if abort is displayed when inputting camera video in OpenCV
What to do if NotADirectoryError: [Errno 20] Not a directory:'xdg-settings' appears in jupyter notebook
What to do if a version error occurs in the selenium Chrome driver
[openpyxl] What to do when IllegalCharacterError appears in pandas.DataFrame.to_excel
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if sys / cdefs.h does not exist