mac pip mysql python_Error(Mac OS): sudo pip install MySQl-python

Downloading/unpackingMySQl-pythonDownloadingMySQL-python-1.2.5.zip(108kB):108kBdownloadedRunningsetup.py(path:/private/tmp/pip_build_root/MySQl-python/setup.py)egg_infoforpackageMySQl-pythonInstallingcollected packages:MySQl-pythonRunningsetup.py installforMySQl-python building'_mysql'extension cc-fno-strict-aliasing-fno-common-dynamic-g-Os-pipe-fno-common-fno-strict-aliasing-fwrapv-mno-fused-madd-DENABLE_DTRACE-DMACOSX-DNDEBUG-Wall-Wstrict-prototypes-Wshorten-64-to-32-DNDEBUG-g-fwrapv-Os-Wall-Wstrict-prototypes-DENABLE_DTRACE-pipe-Dversion_info=(1,2,5,'final',1)-D__version__=1.2.5-I/usr/local/mysql/include-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7-c _mysql.c-o build/temp.macosx-10.9-intel-2.7/_mysql.o-Wno-null-conversion-Os-g-fno-strict-aliasing-arch x86_64 clang:error:unknown argument:'-mno-fused-madd'[-Wunused-command-line-argument-hard-error-in-future]clang:note:thiswill be a hard error(cannot be downgraded to a warning)inthe future error:command'cc'failedwithexitstatus1Completeoutputfromcommand/usr/bin/python-c"import setuptools, tokenize;__file__='/private/tmp/pip_build_root/MySQl-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"install--record/tmp/pip-1ySuuV-record/install-record.txt--single-version-externally-managed--compile:running install running build running build_py creating build creating build/lib.macosx-10.9-intel-2.7copying _mysql_exceptions.py->build/lib.macosx-10.9-intel-2.7...copyingMySQLdb/constants/CLIENT.py->build/lib.macosx-10.9-intel-2.7/MySQLdb/constants running build_ext building'_mysql'extension creating build/temp.macosx-10.9-intel-2.7cc-fno-strict-aliasing-fno-common-dynamic-g-Os-pipe-fno-common-fno-strict-aliasing-fwrapv-mno-fused-madd-DENABLE_DTRACE-DMACOSX-DNDEBUG-Wall-Wstrict-prototypes-Wshorten-64-to-32-DNDEBUG-g-fwrapv-Os-Wall-Wstrict-prototypes-DENABLE_DTRACE-pipe-Dversion_info=(1,2,5,'final',1)-D__version__=1.2.5-I/usr/local/mysql/include-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7-c _mysql.c-o build/temp.macosx-10.9-intel-2.7/_mysql.o-Wno-null-conversion-Os-g-fno-strict-aliasing-arch x86_64 clang:error:unknown argument:'-mno-fused-madd'[-Wunused-command-line-argument-hard-error-in-future]clang:note:thiswill be a hard error(cannot be downgraded to a warning)inthe future error:command'cc'failedwithexitstatus1----------------------------------------Cleaningup...Command/usr/bin/python-c"import setuptools, tokenize;__file__='/private/tmp/pip_build_root/MySQl-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"install--record/tmp/pip-1ySuuV-record/install-record.txt--single-version-externally-managed--compile failedwitherror code1in/private/tmp/pip_build_root/MySQl-pythonStoringdebug logforfailurein/Users/Detonavomek/Library/Logs/pip.log

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值