tensorflow: ModuleNotFoundError: No module named 'tensorflow.python.tools'?
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.
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