Error importing Tensorflow


I’m new to Deep learning and trying to build a Digit Recog model using ANN.
I’m getting ModuleNotFoundError: No module named ‘_pywrap_tensorflow’ in Spyder when trying to import keras.
How to solve this error? I’ve included the tf directory in my Env Var PATH, installed vcredist64, upgraded tf using ‘pip --upgrade’ but error is still there.

thank you


Try changing “cudnn64_6.dll” file in /bin folder to “cudnn64_5.dll” .
Here i am linking the stackOverflow thread ot this problem.