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

pip install fails for c-client under private pip cache

Open amodpandey opened this issue 9 years ago • 1 comments

My machine does not have access to internet but we have our own proxy to install python packages. We have the aerospike pip tz in that proxy.

While installing aerospike the installation fails complaining (as there is no internet connection) error: Unable to download package from 'http://www.aerospike.com/download/client/c/4.0.2/artifact/el6'

Is there a way to locally provide this file?

As a workaround I downloaded the file, extracted it and installed aerospike-client-c-devel-4.0.2-1.el6.x86_64.rpm. This works.

But I would like have an approach where I do not need to install this package as it happens in pip install with internet connection. A way to pass in location to this downloaded file?

We are using virtualenv and python 2.6.6 and pip 8.1.1

amodpandey avatar Apr 14 '16 23:04 amodpandey

With pip (>=19.0) and latest python client (>=3.8.0), you should be able to install on linux without needing to download the c client or install any other dependencies anymore.

marknaero avatar Sep 03 '19 20:09 marknaero