Details
-
Task
-
Resolution: Not a Bug
-
Test Blocker
-
None
-
None
-
None
-
None
-
centos 7
-
1
Description
python couchbase 2.5 library is not working in python2.7/3.6 on centos
running build_ext
building 'couchbase._libcouchbase' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/var/jenkins/workspace/cen7-sync-gateway-functional-tests-ipv6/venv/include -I/usr/include/python3.6m -c src/exceptions.c -o build/temp.linux-x86_64-3.6/src/exceptions.o
In file included from src/exceptions.c:17:0:
src/pycbc.h:228:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /var/jenkins/workspace/cen7-sync-gateway-functional-tests-ipv6/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-23g1gfnx/couchbase/setup.py'"'"'; _file='"'"'/tmp/pip-install-23g1gfnx/couchbase/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_, '"'"'exec'"'"'))' install --record /tmp/pip-record-fx78yt1e/install-record.txt --single-version-externally-managed --compile --install-headers /var/jenkins/workspace/cen7-sync-gateway-functional-tests-ipv6/venv/include/site/python3.6/couchbase Check the logs for full command output.