mysql-python on mac os 10.9.1 [英] mysql-python on mac os 10.9.1
本文介绍了mysql-python on mac os 10.9.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我似乎无法在10.9.1上安装mysql-python。我怀疑它与最新的命令行工具更新,但我不是专家:
I can't seem to be able to install mysql-python on 10.9.1. I suspect it has something to do with latest command line tools update but I'm no expert:
Running MySQL-python-1.2.5/setup.py -q bdist_egg --dist-dir /var/folders/s7/j138zlt172nf6qqpn98rhzhm0000gn/T/easy_install-kq86vo/MySQL-python-1.2.5/egg-dist-tmp-edndmM
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: Setup script exited with error: command 'cc' failed with exit status 1
b $ b
任何想法如何克服这个问题?
Any idea how to overcome this?
与pip相同的错误。
推荐答案
通过运行修复它:
export CFLAGS = -Qunused-arguments
export CPPFLAGS = -Qunused-arguments
之前`pip install ...``
before `pip install...```
这篇关于mysql-python on mac os 10.9.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文