Open mahtab-nejati opened 2 months ago
I'm setting the same error, with a few tree_sitter versions between 0.20.1 and 0.22.6, so it doesn't seem directly related to that.
Thanks for the report. It seems that this function was removed : https://github.com/tree-sitter/py-tree-sitter/pull/145#issuecomment-1969482456 😢
However, there does not seem to be any replacement... We might have to rethink how we integrate with the Python binding. In the meantime, you can try the Java binding (gen.treesitter-ng).
Cheers.
I was trying this parser in a new environment where I installed tree-sitter==0.22.3 on MacOS, but I kept getting the following error:
My attempt in another environment with tree_sitter==0.20.1 was successful. It might be a good idea to bind the tree-sitter requirement to a specific version. You can see this discussion for more information.