SystemError: Cannot locate working compiler

Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/greenlet-0.4.5/setup.cfg
Running setup.py -q bdist_egg --dist-dir /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/greenlet-0.4.5/egg-dist-tmp-DkRe6u
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 9, in <module>
load_entry_point('setuptools==6.1', 'console_scripts', 'easy_install')()
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 2147, in main
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 2133, in with_ei_usage
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 2150, in <lambda>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 370, in run
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 594, in easy_install
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 643, in install_item
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 833, in install_eggs
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 1055, in build_and_install
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/easy_install.py", line 1040, in run_setup
File "build/bdist.macosx-10.6-intel/egg/setuptools/sandbox.py", line 68, in run_setup
File "build/bdist.macosx-10.6-intel/egg/setuptools/sandbox.py", line 114, in run
File "build/bdist.macosx-10.6-intel/egg/setuptools/sandbox.py", line 67, in runner
File "build/bdist.macosx-10.6-intel/egg/setuptools/sandbox.py", line 43, in _execfile
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/greenlet-0.4.5/setup.py", line 99, in <module>
**setuptools_args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/bdist_egg.py", line 161, in run
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/bdist_egg.py", line 147, in call_command
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.macosx-10.6-intel/egg/setuptools/command/install_lib.py", line 10, in run
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 307, in run
customize_compiler(self.compiler)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 170, in customize_compiler
_osx_support.customize_compiler(_config_vars)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_osx_support.py", line 418, in customize_compiler
_find_appropriate_compiler(_config_vars)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_osx_support.py", line 191, in _find_appropriate_compiler
"Cannot locate working compiler")
SystemError: Cannot locate working compiler


原因:电脑没有安装gcc

gcc 是c 语言的编译器, 有一部分代码实现是c 做的,要用gcc 编译
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值