when I try to install tensorflow by cloning from git, I run into the error \"no module named copyreg,\" so I tried installing using a virtualenv. However, I then run into th
I was trying to install CPU TF on Ubuntu 18.04, and the best way (for me...) I found for it was using it on top of Conda, for that:
python
import tensorflow as tf
tf.where([[True, False], [False, True]])
expected result:
So you should use:
‘conda activate tensorflow’ / ‘conda deactivate’