Skip to content Skip to sidebar Skip to footer

Tensorflow Installation Using Pip, Import Not Happening

I installed tensorflow using pip, and it shows success but when I import tensorflow the following error comes. Traceback (most recent call last): File '', line 1, in

Solution 1:

Tensorflow tries to load the following dependency:

libcublas

To fix this follow these steps:

  • Make sure that cuda for python is installed ( via pip )
  • Make sure that the code lib installation path was added to your env-var LD_LIBRARY_PATH

You can check the following question to see how to do so: Cannot find cuda

Post a Comment for "Tensorflow Installation Using Pip, Import Not Happening"