Mac OSX : python packages failed to build because of gcc issues

前端 未结 3 590
抹茶落季
抹茶落季 2021-01-24 17:41

I am trying to install MySQL-python package with the following error:

cc1: error: unrecognized command line option \"-arch\"
cc1: error: unrecogni         


        
3条回答
  •  遥遥无期
    2021-01-24 18:15

    You need to use the Apple-supplied gcc that comes with the Xcode Developer Tools. There should be a Snow Leopard version of Xcode that either came with your Mac or is on a system restore DVD or a retail copy of Snow Leopard or can be downloaded (after free registration) from the Apple Developer Connection.

提交回复
热议问题