Py学习  »  Django

mac 安装python-mysqldb出现的异常

talktoto • 11 年前 • 5944 次点击  

如下所述,我想知道这个问题应该如何处理。

MKdeMacBook-Air:~ tototalk $ sudo easy_install mysql-python

Searching for mysql-python Reading http://pypi.python.org/simple/mysql-python/ Best match: MySQL-python 1.2.5 Downloading https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip#md5=654f75b302db6ed8dc5a898c625e030c Processing MySQL-python-1.2.5.zip Running MySQL-python-1.2.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lKNJv0/MySQL-python-1.2.5/egg-dist-tmp-5gF3FP 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

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/468
 
5944 次点击  
文章 [ 3 ]  |  最新文章 11 年前