0

我在这里遇到问题,我已经花了几天时间寻找解决方案,但到目前为止还没有。

我需要设置我的 python 环境,当我尝试安装 MySQLbd 时遇到问题,我收到以下错误消息:

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

目前我正在使用 Mac OX 10.8.5

我的python版本是:

>>> print (sys.version) 
2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]

请如果有人可以帮助我,我将非常感激

4

1 回答 1

0

我找到了解决方案,我使用的是 XCode 5.1 和命令行版本 5,这就是问题所在,python 与 GCC 5.1 不兼容我刚刚在苹果网站上下载了旧的 GCC 版本并安装它,现在一切正常!

于 2014-04-17T10:03:57.230 回答