-
Notifications
You must be signed in to change notification settings - Fork 356
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
Default docker install instructions shows scary errors and seems to fail... #1437
Comments
Which Python version are you using? The requirements.txt file is pinned to Python v3.10 |
Oh... I just saw the Apple M1 architecture note. That's the problem. We've pinned to older versions of TF and TF Text and they don't support M-chips, only x86 AFAIK, so the Docker image is probably being built to target ARM and failing to find anything compatible on PyPI. Will investigate further. |
lol, read the error Lucas! (I'm was using the default python installed by homebrew, 3.12) I guess maybe we can improve the readme to make that dependency clearer ahead of time, so that the default setup on a modern machine doesn't error, e.g. by setting the command |
Your guess was right, even with python 3.10 MacBook m1 install gives this error:
|
Yeah... I'm working on Py3.11-3.12 support for v1.2. This will include relaxing some dependencies that will allow running examples on M-chips. We're running into some version conflicts internally though so this may take a few more weeks to resolve. |
(MacBook Pro M1 2021. MacOS-14.4 + Docker - 4.28.0 (139021))
Following: https://github.com/pair-code/lit?tab=readme-ov-file#build-container-image
The text was updated successfully, but these errors were encountered: