apache-age-python icon indicating copy to clipboard operation
apache-age-python copied to clipboard

import age report an error

Open YiLing28 opened this issue 3 years ago • 4 comments

when I execute command: sudo apt-get update sudo apt-get install python3-dev libpq-dev pip install --no-binary :all: psycopg2 pip install antlr4-python3-runtime pip install apache-age-python, when import age, report an error: 1652790120(1)

YiLing28 avatar May 17 '22 12:05 YiLing28

I think apache-age-python version you installed is not latest. Please uninstall module and re-install it. pip uninstall apache-age-python pip install apache-age-python==0.0.4

rhizome-ai avatar May 17 '22 13:05 rhizome-ai

the apache-age-python version is 0.0.4 1652800491(1)

YiLing28 avatar May 17 '22 15:05 YiLing28

Is there any update on this issue? Any fix? I'm running into the same error. Thank you.

wayeast avatar Jun 08 '22 01:06 wayeast

Sorry for late reply.

antlr4-python3-runtime package has some changes in recent version.

So, uninstall current antlr package first pip uninstall antlr4-python3-runtime And, please re-install specific version 4.9.2 pip install antlr4-python3-runtime==4.9.2

rhizome-ai avatar Jun 08 '22 01:06 rhizome-ai

Any chance of pushing out an updated release to PyPi. The version on Pip definately does not work with the instructions provided.

shayneoneill avatar May 20 '23 03:05 shayneoneill

You can build apache-age-python from source code

sudo apt-get update
sudo apt-get install python3-dev libpq-dev
pip install --no-binary :all: psycopg2
pip install antlr4-python3-runtime==4.11.1

python setup.py install

And, I just relaased apache-age-python 0.0.5 to PyPi.

pip uninstall apache-age-python pip install apache-age-python==0.0.5

rhizome-ai avatar May 22 '23 00:05 rhizome-ai