Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install aerospike-client-python #144

Open
nagarajudimmiti opened this issue Feb 20, 2017 · 1 comment
Open

Unable to install aerospike-client-python #144

nagarajudimmiti opened this issue Feb 20, 2017 · 1 comment

Comments

@nagarajudimmiti
Copy link

[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$

mlicheng pushed a commit to mlicheng/aerospike-client-python that referenced this issue Mar 23, 2017
Check the result from the as_key_init_* routines
@marknaero
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants