简体   繁体   English

VerificationError:CompileError:命令“ cc”失败,退出状态为1

[英]VerificationError: CompileError: command 'cc' failed with exit status 1

I am trying to install: couchbase-python-cffi as part of a PyPi package. 我正在尝试安装: PyPi软件包中的couchbase-python-cffi But I keep on getting the following error when trying to install couchbase-python-cffi: 但是在尝试安装couchbase-python-cffi时,我仍然收到以下错误:

VerificationError: CompileError: command 'cc' failed with exit status 1

This error only occurs on my Travis Build: https://travis-ci.org/ardydedase/pycouchbase/jobs/75819605#L541 仅在我的Travis构建上会发生此错误: https : //travis-ci.org/ardydedase/pycouchbase/jobs/75819605#L541

Here's the content of my travis file: 这是我的travis文件的内容:

# Config file for automatic testing at travis-ci.org

language: python

python:
  - "3.4"
  - "3.3"
  - "2.7"
  - "2.6"
  - "pypy"

before_install:
  - sudo rm -rf /etc/apt/sources.list.d/*
  - wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
  - echo deb http://packages.couchbase.com/ubuntu precise precise/main | sudo tee /etc/apt/sources.list.d/couchbase.list
  - sudo apt-get update
  - sudo apt-cache search libcouchbase
  - sudo apt-get install libxml2-dev libxslt-dev python-dev libffi6 libffi-dev
  - sudo apt-get install build-essential libssl-dev

install:
  - sudo apt-get -y install libcouchbase-dev libcouchbase2-core libcouchbase2-libevent libevent-dev
  - pip -q install gevent || echo "Couldn't find gevent"
  - pip -q install twisted
  - pip -q install testresources
  - pip install -r requirements.txt

# command to run tests, e.g. python setup.py test
script: 
  - cd couchbase-python-cffi
  - python setup.py install
  - cd ..
  - python runtests.py

Any help will be greatly appreciated as this has been bothering me for quite a while. 任何帮助将不胜感激,因为这困扰了我一段时间。

The couchbase_cffi module contains a "cached" header of the library (in couchbase_ffi/_lcb.h ). couchbase_cffi模块包含库的“ cached”标头(在couchbase_ffi/_lcb.h )。 That was generated against an older version of the library. 这是针对较旧版本的库生成的。 Remove that file to force couchbase_cffi to regenerate that file again. 删除该文件,以强制couchbase_cffi再次重新生成该文件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PyStan:CompileError:命令“gcc”失败,退出状态为 1(macos) - PyStan: CompileError: command 'gcc' failed with exit status 1 (macos) pystan:distutils.errors.CompileError:命令“ gcc”失败,退出状态为1 - pystan: distutils.errors.CompileError: command 'gcc' failed with exit status 1 pystan:CompileError:命令'gcc'失败,退出状态为1(Windows) - pystan: CompileError: command 'gcc' failed with exit status 1 (Windows) GDAL错误:命令'cc'失败,退出状态为1 - GDAL error: command 'cc' failed with exit status 1 错误:命令'cc'失败,退出状态1 - MAC上的MySQLdb安装 - error: command 'cc' failed with exit status 1 - MySQLdb installation on MAC 命令'cc'在OSX High Sierra上以退出状态1失败 - command 'cc' failed with exit status 1 on OSX High Sierra 在 Mac 上安装 pyfastext 时出错:命令“cc”失败,退出状态为 1 - Got error on installing pyfastext on Mac: command 'cc' failed with exit status 1 在 IPython 中运行 %%cython-magic 单元时,CompileError/LinkerError: "command 'gcc' failed with exit status 1" 是什么意思 - What does CompileError/LinkerError: "command 'gcc' failed with exit status 1" mean, when running %%cython-magic cell in IPython 无法使用pip安装折扣:错误:命令'cc'失败,退出状态为1 - Can't install discount with pip: error: command 'cc' failed with exit status 1 错误:命令“cc”在 Mac 上失败,退出状态为 1,用于 pip install MySQL-python - error: command 'cc' failed with exit status 1 on Mac for pip install MySQL-python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM