-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python driver unable to build from source #388
Comments
PR for the issue here #389. Kindly look into it. If any changes are required, do let me know. |
@dehowef Can you take a look as you have been working on the Python driver? |
Hello, yeah this is an issue with the Python driver. You need a specific version of ANTLR for it to work-- I think the version is 4.9.2. It's in the documentation, you have to use: pip install antlr4-python3-runtime==4.9.2 Hope this helps |
Thanks for your reply @dehowef. How about if we move all dependencies/packages to requirements.txt file? It would make it easier for user to install all packages with one line and give developers more control over required packages (along with their required versions). Your guidance on this would be helpful. I submitted a PR (mentioned in my earlier comment) that contains following changes:
@dehowef Kindly have look into it and let me know if I should close this issue and PR now. |
* Fixed a bug where python driver throws error when build from source * Moved required packages to requirements.txt * Update Readme Rearranged instructions and added instructions to install from requirements.txt * Fixed a typo in exceptions.py file Fixed a typo 'SqlExcution' on line 62 in exceptions.py file
Resolved in PR #389. |
* Fixed a bug where python driver throws error when build from source * Moved required packages to requirements.txt * Update Readme Rearranged instructions and added instructions to install from requirements.txt * Fixed a typo in exceptions.py file Fixed a typo 'SqlExcution' on line 62 in exceptions.py file
* Fixed a bug where python driver throws error when build from source * Moved required packages to requirements.txt * Update Readme Rearranged instructions and added instructions to install from requirements.txt * Fixed a typo in exceptions.py file Fixed a typo 'SqlExcution' on line 62 in exceptions.py file
Describe the bug
When building from source (following instructions in Readme) it says
Exception: Could not deserialize ATN with version ♥ (expected 4)
Unable to build when package antlr4-python3-runtime installed is version 4.10 or above
The issue was also referred in apache-age-python PyPi package repository rhizome-ai/apache-age-python#18
How are you accessing AGE (Command line, driver, etc.)?
What data setup do we need to do?
What is the necessary configuration info needed?
What is the command that caused the error?
Expected behavior
Should be able to successfully build from source.
Environment (please complete the following information):
Documentation of apache-age-python package should also be updated.
The text was updated successfully, but these errors were encountered: