after installing tensorflow package for python3.4 and testing if it imports properly, it failed and gave the following error.
$ python3 Python 3.4.3 (default, Nov 17 2016, 01:08:31) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "/usr/lib/python3.4/imp.py", line 243, in load_module return load_dynamic(name, filename, file) ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
Currently I have tensorflow working for python2.7 and this works with
libcudnn.so.5. I guess I have to install cudnn 6.
and downloaded from “Download cuDNN v6.0 (April 27, 2017), for CUDA 8.0“
download the runtime library and developer library for my OS(Ubuntu 14.04)
I downloaded those two files and installed it with
$ sudo dpkg -i libcudnn6-xxxx.deb
after that, I check that I can import tensorflow from python3.4 without the error message.