skip to Main Content

Installation of Apache-Age

I’m trying to install Apache Age on my Ubuntu 20.04 server following the official documentation, but I’m facing an issue.

I have installed all the prerequisites, including Python 3.6+, PostgreSQL 10+, and Apache Arrow 3.0+, as mentioned in the documentation. However, when I try to install Apache Age using pip, I get the following error:

ERROR: Could not find a version that satisfies the requirement apache-age (from versions: none)
ERROR: No matching distribution found for apache-age

I’m not sure what’s causing this error, as I have followed all the steps mentioned in the documentation. Can anyone suggest a solution for this problem?

Additional information:

I’m using Python 3.8.5.
I have already installed Apache Arrow using the command sudo apt install -y libarrow-dev.
I have also installed psycopg2 using pip.
I’m using pip version 20.0.2.

2

Answers


  1. If you want to install Apache AGE to use with Python, you need first to install Apache AGE following the steps in the documentation and then follow the instructions to install the python driver according to your Apache AGE version.

    The PostgreSQL versions supported are 11, 12, and 13 so far. Make sure you installed both postgresql and postgresql-server-dev or libpq-dev.

    The easiest way to install Apache AGE is from the source code. Here is an example to install Python driver for PostgreSQL 13 with Apache AGE 1.3.0:

    sudo apt-get update
    sudo apt-get install python3-dev libpq-dev
    git clone https://github.com/apache/age.git
    cd age/drivers/python
    pip install -r requirements.txt
    
    Login or Signup to reply.
  2. You should adopt a different procedure to setup Apache AGE and Python on your system.

    I believe you have installed postgresql on your system. Next install Apache AGE, but be careful of the version you are trying to install. Make sure it’s compatible with PostgreSQL version that you have installed.

    Here’s a tutorial for setting up Apache AGE:

    https://www.youtube.com/watch?v=0-qMwpDh0CA&ab_channel=%EB%B9%84%ED%8A%B8%EB%82%98%EC%9D%B8Bitnine

    After successfully installing Apache AGE, now you have to install Python driver for Apache AGE to use Python with AGE.

    Also make sure to check the paths of dependencies.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search