Answers for "ImportError: No module named tensorflow"

4

import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow'

conda create -n tensorflow python=3.5
activate tensorflow
pip install --ignore-installed --upgrade tensorflow
Posted by: Guest on May-09-2020
1

ImportError: No module named tensorflow

pip install tensorflow==1.2.0 --ignore-installed
Posted by: Guest on August-05-2020
0

ModuleNotFoundError: No module named 'tensorflow.examples'

!pip install -q git+https://github.com/tensorflow/examples.git
Posted by: Guest on May-18-2020
1

No module named 'tensorflow docs'

pip install git+https://github.com/tensorflow/docs
Posted by: Guest on November-25-2020
0

ImportError: No module named tensorflow

#if you are using bert its only comaptible with python 2.7/pip2 
#and tensorflow 1.15.0 so you need to install like so
pip2 install tensorflow==1.15.0 --ignore-installed

#also if you have a gpu 
pip2 install tensorflow-gpu==1.15.0 --ignore-installed
Posted by: Guest on November-13-2020

Code answers related to "ImportError: No module named tensorflow"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language