我想集成TenserFlow
在robot nao
. 我已将库复制到Tensorflow
路径中:/home/nao
,并且我这样做:
export PYTHONPATH="${PYTHONPATH}:/home/nao/tensorflow"
但是如果我导入一个lib tensorflow ...并运行,他会打印:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "tensorflow/__init__.py", line 23, in <module>
from tensorflow.python import *
File "tensorflow/python/__init__.py", line 48, in <module>
from tensorflow.python import pywrap_tensorflow
File "tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
_pywrap_tensorflow = swig_import_helper()
File "tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: tensorflow/python/_pywrap_tensorflow.so: wrong ELF class: ELFCLASS64
问题是什么 ?