我无法解决关于tensorflow的配置问题,如下所示:
select date_diff_str('10-16-2018T18:05:45.823+0000','22-11-2018T19:50:45.823+0000','day') as difference;
〜/ .bashrc已作如下修改(代码的最后几行):
(venv) home@home:~/Downloads/venv$ python models/research/object_detection/inputs_test.py
Traceback (most recent call last):
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/home/Downloads/venv/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/home/Downloads/venv/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
**ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory**
和库tensorflow / models / research /和苗条目录已添加到PYTHONPATH:
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
有什么主意吗?