You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "Munmud (via GitHub)" <gi...@apache.org> on 2023/03/31 08:20:55 UTC
[GitHub] [age] Munmud opened a new issue, #784: Pypi instruction for installing apache-age-python is not correct
Munmud opened a new issue, #784:
URL: https://github.com/apache/age/issues/784
Dependency mismatch at Apache Age Repo and [`pypi package`](https://pypi.org/project/apache-age-python/)
This is happening because the project decription at pypi.org is not correct.
### apache/age python driver repo dependency requirements.txt
```txt
pip install psycopg2 --no-binary :all: psycopg2
pip install antlr4-python3-runtime==4.11.1
pip install setuptools
```
### pypi.org dependency requirements.txt
```txt
sudo apt-get install python3-dev libpq-dev
pip install --no-binary :all: psycopg2
pip install antlr4-python3-runtime
```
By followig pypi.org project description instruction user getting this error
```
File "/home/moontasir/Desktop/pyage/myenv/lib/python3.10/site-packages/antlr4/atn/ATNDeserializer.py", line 50, in checkVersion
raise Exception("Could not deserialize ATN with version " + str(version) + " (expected " + str(SERIALIZED_VERSION) + ").")
Exception: Could not deserialize ATN with version (expected 4).
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@age.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] hammadsaleemm commented on issue #784: Pypi instruction for installing apache-age-python is not correct
Posted by "hammadsaleemm (via GitHub)" <gi...@apache.org>.
hammadsaleemm commented on issue #784:
URL: https://github.com/apache/age/issues/784#issuecomment-1505180217
To resolve the issue, I would recommend following the instructions from the Apache Age repository's requirements.txt file instead of the PyPI project description instructions. This should ensure that you are using the correct versions of the dependencies that are compatible with Apache Age.
You can install the recommended dependencies by running the following commands:
`pip install psycopg2 --no-binary :all: psycopg2
pip install antlr4-python3-runtime==4.11.1
pip install setuptools
`
If you continue to experience issues, it may be helpful to check the versions of the installed dependencies using pip freeze, and compare them to the requirements specified in the requirements.txt file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [age] jrgemignani commented on issue #784: Pypi instruction for installing apache-age-python is not correct
Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani commented on issue #784:
URL: https://github.com/apache/age/issues/784#issuecomment-1492140911
@Munmud Apache AGE doesn't support external links that we have no control over. This specific link was brought to our attention a few days ago and we are removing references to PYPI until it is under our control.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org