Hi!
This is the 2nd time I get a weird error when I install TensorFlow in my Anaconda distribution. And this is the 2nd time I realize that I’m using the Anaconda version that is preinstalled with Visual Studio. I’m not sure if the spaces in the path affects the creation of environments or it’s something else, however my current and big and amazing solution is:
- Uninstall Anaconda
- Install Anaconda again
And then, follow the simple commands in the official Anaconda and TensorFlow doc (see references)
conda create -n tensorflow_env tensorflow
conda activate tensorflow_env
Once tensorflow is installed, I usually test this in python
> Python
import tensorflow as tf
print(tf.__version__)
Note: please ignore the typos!

Now TensorFlow is installed and it’s time to move forward with a new development environment.
Happy Coding!
Greetings @ Burlington
El Bruno
References
- TensorFlow in Anaconda https://www.anaconda.com/tensorflow-in-anaconda/
3 comments