Home > Back-end >  tensorflow: ModuleNotFoundError: No module named 'tensorflow.python.tools'?
tensorflow: ModuleNotFoundError: No module named 'tensorflow.python.tools'?

Time:06-03

I'm trying to install tensorflow, to do so I use the following: conda install -c conda-forge/label/cf201901 tensorflow

However when I import tensorflow the following error raises up: ModuleNotFoundError: No module named 'tensorflow.python.tools'. I took a look at other questions here but the solutions didn't work for me. Can you help?

I'm using python 3.7.1 and conda 4.12.0

CodePudding user response:

By default Tensorflow will be installed on GPU. To install on CPU run this command pip install tensorflow-cpu

If that doesn't work try pip install tensorflow

If you are using anaconda environment, you can try conda install tensorflow I hope this will help you.

CodePudding user response:

I found these generics errors they posted in the tutorials Sample

  • Related