Error:
Complete output from command/usr/bin/python-u-C"import setuptools, tokenize;__file__= '/private/tmp/pip-build-ksfbfz/ujson/setup.py '; f=getattr (tokenize, ' open ', open) (__file__); Code=f.read (). replace (' \ r \ n ', ' \ n '); F.close (); Exec (compile (code, __file__, ' exec '))" Install--record/tmp/pip-wjwhzh-record/Install-record.txt--single-version-externally-managed--compile:runningInstallrunning build running Build_ext building'Ujson'extension Creating build creating Build/temp.macosx-10.12-intel-2.7Creating Build/temp.macosx-10.12-intel-2.7/python Creating Build/temp.macosx-10.12-intel-2.7/Libcc-fno-strict-aliasing-fno-common-dynamic-arch I386-arch x86_64-g-os-pipe-fno-common-fno-strict-aliasing-fwrapv-d enable_dtrace-dmacosx-dndebug-wall-wstrict-prototypes-wshorten- --to- +-dndebug-g-fwrapv-os-wall-wstrict-prototypes-denable_dtrace-arch I386-arch X86_64-pipe-i./python-i./lib-i/syst em/library/frameworks/python.framework/versions/2.7/include/python2.7-C./python/ujson.c-o build/temp.macosx-10.12-intel-2.7/./PYTHON/UJSON.O-D_gnu_source Xcode-Select: Note:no developer tools were found at'/applications/xcode.app', requestingInstall. Choose an optioninchTheDialogTo download, the command line developer tools. Error:command'cc'Failed with exit status1----------------------------------------Command"/usr/bin/python-u-C"Import Setuptools, tokenize;__file__='/private/tmp/pip-build-ksfbfz/ujson/setup.py'; F=getattr (Tokenize,'Open', open) (__file__); Code=f.read (). Replace ('\ r \ n','\ n'); F.close (); Exec (compile (code, __FILE__,'exec'))"Install--record/tmp/pip-wjwhzh-record/install-record.txt--single-version-externally-managed--compile"Failed with error code1 inch/private/tmp/pip-build-ksfbfz/ujson/
Create the. Bash_profile
https://www.v2ex.com/t/129563
Edit
Http://stackoverflow.com/questions/21638444/error-command-cc-failed-with-exit-status-1-mysqldb-installation-on-mac
export CC=‘/usr/bin/gcc‘export CFLAGS=‘-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -I/opt/X11/include -arch i386 -arch x86_64‘export LDFLAGS=‘-arch i386 -arch x86_64‘export ARCHFLAGS=‘-arch i386 -arch x86_64‘
Error:command ' CC ' failed with exit status 1