tensorflow ImportError: libmklml_intel.so: cannot open shared object file: No such file or directory
通过whl文件安装 tensorflow,显示缺少libmklml_intel.so
需要
1)安装intel MKL库
https://software.intel.com/en-us/articles/intel-mkl-dnn-part-1-library-overview-and-installation
2)将/usr/local/lib添加到 ~/.bashrc中
nano ~/.bashrc
加入以下行
export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- 重新运行tensorflow
posted on 2018-08-07 01:50 lion_zheng 阅读(1705) 评论(0) 编辑 收藏 举报