on-internet
← Community

cannot import name 'ops' from 'keras'

Stack Overflow ·

I am trying to run this example Colab notebook from Keras.io, but When I run the first cell (imports section) I get ImportError: cannot import name 'ops' from 'keras' (/usr/local/lib/python3.10/dist-packages/keras/__init__.py) error. As suggested in this thread, I have already tried uninstalling and installing TensorFlow and Keras, and also I have tried upgrading TensorFlow and Keras.

Comments

Sign in or sign up to comment and upvote.

No comments yet.