`
joneswen
  • 浏览: 8621 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
社区版块
存档分类
最新评论

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 编译
分享到:
评论

相关推荐

    vsftp连接错误cannot locate user entry:vsftpd

    在使用VSFTPD时,可能会遇到各种连接错误,其中"500 OOPS: cannot locate user entry:vsftpd"是一个较为常见的问题。该错误提示用户无法找到用户条目,这通常是因为配置文件中缺少了对用户或组的定义。 根据提供的...

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    然而,在安装`imagick`扩展时,可能会遇到各种问题,其中一种常见的错误是“Cannot locate header file MagickWand.h”。这通常意味着编译器在指定的路径下找不到必要的头文件,导致配置过程失败。 当安装`imagick`...

    instantclient-basic-macos.x64-11.2.0.4.0

    sqlalchemy.exc.DatabaseError: (cx_Oracle.DatabaseError) DPI-1047: Cannot locate a 64-bit Oracle Client library: "dlopen(libclntsh.dylib, 1): image not found". See ...

    打开vivado的.xpr工程文件报错Cannot locate target loade

    ### 打开Vivado的.xpr工程文件报错Cannot Locate Target Loader的解决方案 #### 问题背景 在使用Xilinx Vivado设计工具进行FPGA/CPLD开发时,经常会遇到各种各样的问题,其中之一就是在尝试打开一个`.xpr`工程文件...

    kotlin-compiler-1.5.32.zip

    本文将围绕"Kotlin-compiler-1.5.32.zip"这一官方下载版本,深入探讨Kotlin编译器1.5.32的重要特性和使用方法。 Kotlin编译器是Kotlin语言的核心组件,负责将开发者书写的源代码转换为可执行的机器码。在1.5.32版本...

    TASKING linker 常见问题

    在进行嵌入式软件开发时,使用TASKING编译器的链接器(linker)是一项不可或缺的任务,链接器的主要作用是将编译生成的代码文件(通常为对象文件)链接成最终的可执行文件或库文件。在链接过程中,需要对内存区域...

    android 5.0 api 21 sqlite3 not found sqlite3_enable_load_extension

    2.CANNOT LINK EXECUTABLE: cannot locate symbol "sqlite3_enable_load_extension" referenced by "sqlite3" 适用于android 5.0 API 21版本,使用方法 1. 包含3个文件 sqlite3,lib sqlite_jni.so,libsqlite.so 2....

    android 4.4 api 19 sqlite3 not found sqlite3_enable_load_extension

    2.CANNOT LINK EXECUTABLE: cannot locate symbol "sqlite3_enable_load_extension" referenced by "sqlite3" 适用于android 4.4 API 19版本,使用方法 1. 包含3个文件 sqlite3,libsqlite_jni.so,libsqlite.so 2. ...

    linux下 Error running javac compiler

    ### Linux 下 "Error running javac compiler" 解决方案详解 #### 问题背景 在 Linux 系统中,遇到“Error running javac compiler”的错误时,通常意味着 Java 编译器未能正常工作。这类问题可能源于多种因素,如...

    PHP编译configure时常见错误的总结

    13. **错误:Configure: error: Unable to locate gmp.h** 解决方案:在CentOS上,需要`gmp-devel`,使用`yum install gmp-devel`进行安装。 14. **错误:Configure: error: Cannot find MySQL header files** 这...

    instantclient_10_2和instantclient_11_2

    问题一.cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: 解决一:添加如下代码,指定环境:os.environ['path'] = r'instantclient_10_2路径‘ 问题二:cx_Oracle.DatabaseError:...

    RLUS:retrieve locate update service

    ### RLUS:Retrieve Locate Update Service 知识点详解 #### 一、RLUS概述 **RLUS(Retrieve Locate Update Service)**是Healthcare Services Specification Project (HSSP) 在OMG(Object Management Group)...

    cx_oracle python34 dll 文件

    6. **异常处理**:在使用cx_Oracle时,应妥善处理可能出现的数据库错误,如`cx_Oracle.Error`异常。 ```python try: # 执行可能抛出异常的代码 except cx_Oracle.Error as e: print("Error:", e) ``` 7. **游标...

    详解vsftpd.conf

    详解 vsftpd.conf 文件配置 Vsftpd 是一个功能强大且轻量级的 FTP 服务器,它广泛应用于 Linux 操作系统中。Vsftpd 的配置文件是 /etc/vsftpd/vsftpd.conf,该文件控制着 Vsftpd 服务器的行为和功能。...

    最常见的VC++编译错误信息_fatal_error

    2. Fatal Error C1083:Cannot open include file: 'R…….h': No such file or directory 这是一个常见的编译错误,原因是编译器无法打开包含文件“R…….h”。解决方法是检查该文件是否存在于正确的路径下,如果...

    FlexBuilder运行项目报Flex Builder cannot locate the required version of Flash Player

    标题 "FlexBuilder运行项目报Flex Builder cannot locate the required version of Flash Player" 描述了一个常见的问题,即在使用FlexBuilder开发Flex应用程序时,由于找不到合适的Flash Player版本,导致项目无法...

    双击xpr打开错误.docx

    当你遇到"双击.xpr打开错误.docx"的问题,这意味着你的系统无法正确识别或启动Vivado来处理这个文件,导致出现“Cannot locate target loader”的错误信息。这个问题可能是由多种原因引起的,下面我们将深入探讨可能...

    python selenium运行失败常见错误.docx

    org.openqa.selenium.WebDriverException: unknown error: cannot get automation extension from unknown error: page could not be found:chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_...

    kotlin-compiler-embeddable-1.3.61.jar

    官网版:kotlin-compiler-embeddable-1.3.61

Global site tag (gtag.js) - Google Analytics