tensorflow | Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX

报错: python

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2

解决:git

1.从新安装python3.7.2github

2.打开 https://github.com/fo40225/tensorflow-windows-wheel 在里面找到对应的.whl文件 报错提示缺什么就安装什么windows

 

tips:this

1.tensorflow须要安装 python 64-bit,刚开始我不知道本身安装是32位的,折腾了一天spa

2.好多博客写的忽视报错的代码 os.environ[“TF_CPP_MIN_LOG_LEVEL”]=‘2’ 并不能完全解决问题 最好仍是安装符合本身版本的 .whl 文件.net

参考:code

http://www.javashuo.com/article/p-chifaxms-gk.htmlblog

https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions?rq=1ip