ModuleNotFoundError No module named tensorflow

800    Asked by DianeCarr in Python , Asked on Jul 8, 2021

I have installed TensorFlow in my system, but I am not able to import this module. I got this below error.

ModuleNotFoundError                       Traceback (most recent call last)

in

----> 1 import tensorflow


ModuleNotFoundError: No module named 'tensorflow'

Answered by Chloe Burgess

To avoid this error, you can use this below given command.

$ conda install tensorflow

But before installing this make sure you have numpy in your system.

Or

You can fix Modulenotfounderror No module named Tensorflowerror by following the below mention step:

Open Anaconda Navigation.

Change 'Applications on' to the virtual environment you just created ('venv')

Install a new spyder under 'venv'

Run the new spyder and test.



Your Answer

Interviews

Parent Categories