-
Notifications
You must be signed in to change notification settings - Fork 136
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
feature: pre-compiled binary wheels for M chip macOS (arm64) #262
Comments
Building from source via tree-sitter is deprecated but you can still build from source via pip. pip install git+https://github.com/tree-sitter/tree-sitter-python A macOS arm64 wheel will be available in the next release. Maybe a source distribution as well. |
Hello, just checking, could it be possible to get an
|
I tried this and still can't install it. How do I resolve this?
|
@kiyoon for intel mac you should be able to |
@tusharsadhwani Mine is M1, and it seems like the shared object that is being installed is for intel.
|
Something is using the wrong architecture. Could be python, pip, conda, or your compiler. |
I think it's my compiler because I had similar problem with rust. But I don't know how to fix it.. |
I temporarily forked the repo and modified the CI to publish the wheel files on the Release page. I don't know what's wrong with my compiler, but this worked for me. |
The wheel is included in 0.23.0 |
After having successfully installed 0.23.0 in a M chip MacOS, I'm getting this error: import tree_sitter_python as tspython
from tree_sitter import Language, Parser, Point, Tree
PY_LANGUAGE = Language(tspython.language()) Error:
Any clue why is this happening?
|
Unfortunately, no. I'm still waiting for all these bugs to get straightened out. |
You need |
@ObserverOfTime The bug persists in version 0.23. |
It finally works in my setup using this tree-sitter related requirements:
I had to adjust some |
Did you check the tree-sitter docs?
Is your feature request related to a problem? Please describe.
https://github.com/tree-sitter/py-tree-sitter says "Build from source" will be deprecated and in v0.22.0. However, on arm mac, running
pip install tree-sitter-python
reports "No matching distribution found for tree-sitter-python". I think there is no pre-built wheels for M chip mac.Describe the solution you'd like
Release the binary for the M chip mac.
Describe alternatives you've considered
/
Additional context
No response
The text was updated successfully, but these errors were encountered: