ImportError: No module named tensorflow

I just installed tensorflow with pip3, but now I get this error when I try to import it

ImportError: No module named tensorflow

I'm using python3, and don't know why I'm getting this.

tensorflowpippip3
3 votesLP190.00
1 Answers
JO220.00
3

You can try install tensorflow again with the specific version you want (or whatever it will install),
but put --ignore-installed flag to ignore existing tensorflow.

pip3 install tensorflow==1.13.0 --ignore-installed

Or you can uninstall tensorflow and install it with anaconda.

pip3 uninstall tensorflow
conda install tensorflow
Reply
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?