What Does It Mean To Import Tensorflow From Source Directory?
I was trying to use TensorFlow in my Anaconda docker container and I got the error: Error importing tensorflow. Unless you are using bazel, you should not try to import tensorf
Solution 1:
The source directory is the directory containing your TensorFlow installation. Python is getting confused by the fact that it sees TensorFlow source files locally and not just in your PYTHONPATH
. The error message asks you to run the interpreter from a location other than the directory in which TensorFlow is installed.
Solution 2:
try with export LD_LIBRARY_PATH=/usr/local/cuda/lib64
source: http://withr.me/install-tensorflow-ubuntu-16-04/
Solution 3:
Make sure you are using python 3.5.3! Other version may not work!
Post a Comment for "What Does It Mean To Import Tensorflow From Source Directory?"