Home > Software engineering >  ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'
ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'

Time:12-24

I am trying to import

import tensorflow.python.keras.applications

but it gives the bellow error:

ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'

my tensorflow version is 2.8.0 and keras version is 2.8.0

CodePudding user response:

Can you check the python version you are using ? Did you install the package from the same version ?

CodePudding user response:

I was able to fix the problem by uninstalling TensorFlow and installing it back.

pip uninstall tensorflow
pip install tensorflow
  • Related