keras-team/keras-tuner

Cannot install keras-tuner 1.2.0 on M1 Mac

sapphire008 opened this issue · 1 comments

Describe the bug
Cannot install keras-tuner 1.2.0 on M1 Macbook Pro Ventura 13.1

To Reproduce

pip install keras-tuner==1.2.0

Expected behavior

Expected to be able to install on Mac M1

Additional context
I was able to install keras-tuner 1.1.3. I have M1 version of tensorflow-macos==2.11.0 on Ventura 13.1
Error message when using pip install keras-tuner==1.2.0

Collecting keras-tuner==1.2.0
  Using cached keras_tuner-1.2.0-py3-none-any.whl (168 kB)
ERROR: Could not find a version that satisfies the requirement tensorflow>=2.0 (from keras-tuner) (from versions: none)
ERROR: No matching distribution found for tensorflow>=2.0

Would you like to help us fix it?
I have no idea how to fix this.

As a workaround, pip install --no-deps --upgrade keras_tuner==1.2.0 seems to work.