I am unable to install tree-sitter-python on an M1 Mac:
$ uname -a
Darwin Greg-Wilson-Gold-Mac.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64
$ python --version
Python 3.12.5
$ uv pip install tree-sitter-python
× No solution found when resolving dependencies:
╰─▶ Because only tree-sitter-python==0.21.0 is available and tree-sitter-python==0.21.0 has no wheels with a matching platform
tag, we can conclude that all versions of tree-sitter-python cannot be used.
And because you require tree-sitter-python, we can conclude that the requirements are unsatisfiable.
Note that I am able to install tree-sitter-javascript on the same machine, and that using pip directly rather than uv pip does not make a difference in either case.
I am unable to install
tree-sitter-python
on an M1 Mac:Note that I am able to install
tree-sitter-javascript
on the same machine, and that usingpip
directly rather thanuv pip
does not make a difference in either case.