Home > Software design >  Anaconda : ModuleNotFoundError: No module named 'tensorflow'
Anaconda : ModuleNotFoundError: No module named 'tensorflow'

Time:01-24

After installing TensorFlow in Anaconda, I tried to test it :

import tensorflow as tf

In Jupyter, I get this error :

ModuleNotFoundError                       Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_13080/3793406994.py in <module>
----> 1 import tensorflow as tf

ModuleNotFoundError: No module named 'tensorflow'

enter image description here

How I can fix this issue?

CodePudding user response:

Switch to your env, open your terminal and run:

conda ctivate myenviroment

now try again

  •  Tags:  
  • Related