can’t import tensorflow in python, windows 10 64 bit

Please follow the instructions from TensorFlow website. I recommend install Tensorflow 2, if you are using lower versions.

You need to download and install/update the Microsoft Visual C++ 2015-2019 Redistributable (x64) from here.

If you are facing any other issues possible reasons are

  • Your CPU does not support AVX2 instructions
  • Your CPU/Python is on 32 bits
  • There is a library that is in a different location/not installed on your system that cannot be loaded.

Please refer tested build configurations for windows CPU and GPU.

Leave a Comment

tech