System Info
As MacBooks with the M1 chip need tensorflow-macos installed instead of tensorflow>=2.3 (as listed in the setup.py) file trying to set up a developer environment on a M1 MacBook produces the following error:
ERROR: Could not find a version that satisfies the requirement tensorflow>=2.3; extra == "dev" (from transformers[dev]) (from versions: none)
ERROR: No matching distribution found for tensorflow>=2.3; extra == "dev"
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
Reproduction
pip install -e ".[dev]"
Expected behavior
Developer environment should be installed without errors.
System Info
As MacBooks with the M1 chip need
tensorflow-macosinstalled 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-macosbut 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
examplesfolder (such as GLUE/SQuAD, ...)Reproduction
pip install -e ".[dev]"Expected behavior
Developer environment should be installed without errors.