aerospike-client-python icon indicating copy to clipboard operation
aerospike-client-python copied to clipboard

Unable to install aerospike-client-python

Open nagarajudimmiti opened this issue 8 years ago • 1 comments

[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 "", line 1, in File "/tmp/pip-build-Y860EI/aerospike/setup.py", line 258, in resolve_c_client(lua_src_path, lua_system_path) File "/tmp/pip-build-Y860EI/aerospike/setup.py", line 103, in resolve_c_client rc = call(['./scripts/aerospike-client-c.sh']) File "/usr/lib64/python2.7/subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 13] Permission denied

----------------------------------------

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$

nagarajudimmiti avatar Feb 20 '17 02:02 nagarajudimmiti

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.

marknaero avatar Sep 03 '19 20:09 marknaero