Skip to content Skip to sidebar Skip to footer

Not Able To Import Tensorflow On Anaconda With Python 3.6 Version On 64bit System With 64bit Anaconda

When I import tensorflow it gives me this error: Traceback (most recent call last): File 'C:\Users\User\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflo

Solution 1:

I just solved this same issue with my system (Win 10, 64 bit). Following are the details of how I resolved this issue:

  1. Install VS 2017, tensorflow doesn't use it but having it helps in the smooth installation of CUDA toolkit.
  2. Update NVDIA driver from windows device manager.
  3. Download and Install CUDA toolkit (version 10.1).
  4. Download and unzip CUDnn 7.6.5. Copy the extracted files into a folder in C drive.
  5. Add ~\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin, ~\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin and cudnn-10.1-windows10-x64-v7.6.4.38\cuda\bin to PATH

Doing import tensorflow as tf after the above steps solved the issue.


Post a Comment for "Not Able To Import Tensorflow On Anaconda With Python 3.6 Version On 64bit System With 64bit Anaconda"