通过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
  1. 重新运行tensorflow