打开微信,使用扫一扫进入页面后,点击右上角菜单,
点击“发送给朋友”或“分享到朋友圈”完成分享
思元270 芯片,虚拟环境已经创建好 tensoflow-mlu 都成功安装,如下:
导入tensorflow时报如下错误,请问是什么原因:
>>> import tensorflow as tf
Traceback (most recent call last):
File "/envs/cambricon_virtualenv/lib/python3.7/site-packages/tensorflow_core/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/envs/cambricon_virtualenv/lib/python3.7/site-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/envs/cambricon_virtualenv/lib/python3.7/site-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, de ion)
File "/usr/local/python3/lib/python3.7/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/local/python3/lib/python3.7/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcnnl_extra.so: cannot open shared file: No such file or directory
热门帖子
精华帖子