Why am I getting the error: command 'llvm-gcc-4.2' failed with exit status 1

前端 未结 6 2167
慢半拍i
慢半拍i 2020-12-14 09:18

I am setting up os X 10.7.

I am using the default install of Python:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/

I use a Python ba

6条回答
  •  [愿得一人]
    2020-12-14 09:55

    All of the suggestions here (Xcode command line options, and Kenneth Reitz' stuff) didn't work for me (I am on Mac OS X 10.7.5, Xcode 4.6.3).

    What helped in the end was altering the cflags options in the mysql_config file (There were errors about 'unreconized command line options' while trying to 'sudo pip install MySQL-python').

    See this post: cc1: error: unrecognized command line option "-Wno-null-conversion" within installing python-mysql on mac 10.7.5

提交回复
热议问题