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 on CentOS #141

Open
htnba opened this issue Feb 2, 2017 · 2 comments
Open

Unable to install aerospike on CentOS #141

htnba opened this issue Feb 2, 2017 · 2 comments

Comments

@htnba
Copy link

htnba commented Feb 2, 2017

I am getting the following error upon running:
pip install aerospike
The environment is:
CentOS Linux release 7.3.1611 (Core)

pip install --no-cache aerospike
Collecting aerospike
Downloading aerospike-2.0.6.tar.gz (102kB)
100% |████████████████████████████████| 102kB 177kB/s
Installing collected packages: aerospike
Running setup.py install for aerospike ... error
Complete output from command /apps/anaconda/4.1.1/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-SaPt1h/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-7nehSw-record/install-record.txt --single-version-externally-managed --compile:
info: Executing ./scripts/aerospike-client-c.sh
which: no lsb_release in (/opt/anaconda/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/common/.local/bin:/home/common/bin)
rpm: /opt/anaconda/lib/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)
error: is not supported.
error: scripts/aerospike-client-c.sh 1

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

Command "/apps/anaconda/4.1.1/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-SaPt1h/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-7nehSw-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-SaPt1h/aerospike/

mlicheng pushed a commit to mlicheng/aerospike-client-python that referenced this issue Mar 23, 2017
Don't raise RecordNotFound exception for exists() on nonexistent record
@mluscon
Copy link

mluscon commented Apr 24, 2017

I think you have to install redhat-lsb package.

@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

3 participants