通过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
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:tensorflow ImportError: libmklml_intel.so: cannot open shared object file: No such file or directory - Python技术站