-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Unable to set up developer environment on Mac M1 #18355
Comments
Hey! Thanks for the issue. I managed to get it work doing the following :
|
Thanks so much for the prompt response @ArthurZucker. This is great although when I run the final
when I remove tensor flow-text from setup.py the |
At the time (~2 month ago), I did not. But it seems like it is a pretty known issue mentioned here. You should apparently build |
Amazing that seems to work for now. Thanks for the help! |
sadly this guide no longer works as |
The issue is you want to use miniforge (community version of conda) and not the conda... |
Following up here with what I've tried so far with my issue, in case it's useful for anyone in the future:
|
System Info
As MacBooks with the M1 chip need
tensorflow-macos
installed instead oftensorflow>=2.3
(as listed in the setup.py) file trying to set up a developer environment on a M1 MacBook produces the following error:Is there any way around this? I tried replacing with
tensorflow-macos
but that creates a myriad of other issues when trying to set up the developer environment.transformers 4.21.0
python 3.9.12
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
pip install -e ".[dev]"
Expected behavior
Developer environment should be installed without errors.
The text was updated successfully, but these errors were encountered: