aerospike-client-python
aerospike-client-python copied to clipboard
Unable to install aerospike-client-python
[root@sdm-as-01 ~]# /usr/local/bin/pip install aerospike
Collecting aerospike
Using cached aerospike-2.0.8.tar.gz
Installing collected packages: aerospike
Running setup.py install for aerospike ... error
Complete output from command /usr/bin/python2.7 -u -c "import setuptools, tokenize;file='/tmp/pip-build-Y860EI/aerospike/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-JWmmfZ-record/install-record.txt --single-version-externally-managed --compile:
info: Executing ./scripts/aerospike-client-c.sh
Traceback (most recent call last):
File "
----------------------------------------
Command "/usr/bin/python2.7 -u -c "import setuptools, tokenize;file='/tmp/pip-build-Y860EI/aerospike/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-JWmmfZ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Y860EI/aerospike/ [root@sdm-as-01 ~]# -sh-4.2$ uname -a Linux sdm-as-01.mum.aws.pym.fc.internal 4.4.14-24.50.amzn1.x86_64 #1 SMP Fri Jun 24 19:56:04 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -sh-4.2$
With pip (>=19.0) and latest python client (>=3.8.0), you should be able to install on linux without needing to compile or install any other dependencies anymore.