Closed lmmx closed 1 month ago
Hey @lmmx , I use Python 3.10.14 and I can run the example in the README.
Could you please check the installed tree sitter vesrion?
pip freeze | grep tree-sitter
If it shows anything except tree-sitter==0.22.3
, then you might need to install the latest version by
pip install -U tree-sitter
Ahhh, I'm sorry that's right, this isn't a Python version it's a py-tree-sitter version. My package manager was for some reason not installing the latest version of tree-sitter. Working perfectly now, false alarm
I've tried this on Python 3.12 and 3.10, and confirmed tree-sitter and tree-sitter-python are installed.
I'm confused as to how something as fundamental as the README example can fail to work.
This appears to have been opened in a previous issue and quickly closed without confirmation by the original poster that it solved their problem:
239
In my case, neither of the suggestions (install the dependency, upgrade Python version) were helpful to me
3.9 and 3.11
It only seems to work on Python 3.9 and 3.11
Not clear what is happening under the hood here to cause this 🤔
Edit something weird appears to be going on, I'm now getting an error to even load that when it previously worked