Comments (3)
So the problem seems to be, that the package is trying to download file:
https://artifacts.aerospike.com/aerospike-client-c/4.6.10/aerospike-client-c-devel-4.6.10.ubuntu20.04.x86_64.deb
^^^^^
But on the official C library download page the latest ubuntu version seems to be 18.04
(which is what I tried to install manually into my system).
So there is no 20.04
version. Which probably means that all your releases will break on any new version of linux that you did not build for at the time of release?
Is there an environment variable or a command line flag that I could specify to override what file your setup script should download? Or what version of linux it should use when constructing the download URL? Can I override any of it?
from aerospike-client-python.
Ok, so I figured this out myself, but I do think your installation instructions should mention this.
In order for the python package to use a manually installed aerospike C library, you need to set 2 environment variables:
# this is the default location
PREFIX=/usr
# disable any attempts to download packages from the internet
DOWNLOAD_C_CLIENT=-1
In other words - installation works, when I run:
$ PREFIX=/usr DOWNLOAD_C_CLIENT=-1 pip install aerospike==3.10.0
from aerospike-client-python.
There are a few things happening here. The Python client is normally installed with manylinux wheels that bundle dependencies, pypi has a manylinux wheel for each supported version of Python. However, Client 3.10.0 does not officially support Python 3.8, so there isn't a manylinux2010 wheel and pip defaults to a source install. As you observed, the setup.py looks for a corresponding C client artifact to download, since C client 4.6.10 did not support Ubu20, that artifact does not exist and the build fails. Documentation for building on unsupported distros is here, https://github.com/aerospike/aerospike-client-python/blob/master/BUILD.md#building-on-an-unsupported-linux-distro . Sorry you ran into this and thanks for sharing your solution.
from aerospike-client-python.
Related Issues (20)
- when run python3 kvs.py got error HOT 1
- Unable to install on Amazon Linux HOT 1
- Support for min_conns_per_node HOT 2
- execute udf aerospike:remove failed HOT 3
- Unable to install on MacOS 12.2 (M1) HOT 9
- add python 3.10 support HOT 2
- Aerospike alpine installation failure HOT 6
- Error while running in Ubuntu 22.04 HOT 1
- `map_operations.map_remove_by_key` has `return_type` but `expressions.MapRemoveByKey` does not HOT 1
- Help wanted! Update in nested data HOT 1
- Query on two fields (Alternate of predexp) HOT 2
- support pypy 3.9 HOT 1
- Error status of aerospike_scan_wait() is fixed on ParamError, therefore cannot detect error of inside the function. HOT 1
- How to use put_async.py? HOT 2
- Is the Aerospike Python client compatible with Debian 11? HOT 3
- Max records for a batch_write call is less than server's default HOT 8
- Windows support / compability HOT 9
- Memory Leak while getting data from aerospike HOT 15
- Need more Detail Exception ( raise error if port dataType is not PyLong) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerospike-client-python.