TensorFlow-HRT icon indicating copy to clipboard operation
TensorFlow-HRT copied to clipboard

Error during import tensorflow: cannot find module libarm_compute.so

Open huzz opened this issue 7 years ago • 0 comments

Hello I have successfully compiled tensorflow using the ACL libraries but when I try to import tensorflow in python it gives me the error shown below. NOTE- I have build the compute libraries using scons and also copied the so files. PLease help, Thanks.

import tensorflow Traceback (most recent call last): File "", line 1, in File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/init.py", line 24, in from tensorflow.python import * File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/init.py", line 49, in from tensorflow.python import pywrap_tensorflow File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 73, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "/home/shunya/.local/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) ImportError: libarm_compute.so: cannot open shared object file: No such file or directory

Failed to load the native TensorFlow runtime.

huzz avatar Jul 03 '18 09:07 huzz