Nengo dl on M1 not working


I am trying to run nengo-dl on Apple M1 Mac and encounter this error when I try to import nengo_dl

ModuleNotFoundError: No module named ‘keras.engine’

I have following versions for Keras and tensorflow installed:
Name: keras
Version: 3.3.3
Summary: Multi-backend Keras.

Name: tensorflow
Version: 2.16.1

The python version I am running is 3.10.14

It’s likely because that’s a newer version of TF/Keras than we support. You can try rolling back your TF/Keras version, or you can try this patch.