If you are new to Python and on your way to trying out in making a Machine Learning script and using TensorFlow
. As you go your way in coding, and decided to test and run the program. An error appeared stating “ModuleNotFoundError: No Module Named 'Tensorflow'
“. Then this article will provide you the fix in your issue.
This error states that you have not yet downloaded and installed the necessary packages needed in running the library or package you have input, which in this case is the TensorFlow
library. Thus, all you have to do is go to your Terminal
and type in this line.
For your missing TenserFlow
library, type in this code.
If you are using Python
in Visual Studio Code.
pip install tensorflow
But, iff you are using Python 3.x
in Visual Studio Code, then use this instead.
pip3 install tensorflow
Afterwards, wait for the installations to finish and you’re done,
That’s it. Hoping this assists you in fixing your error. “ModuleNotFoundError: No Module Named 'Tensorflow'
“. Thank you!