Win10下TensorFlow安装错误解决:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
出现“Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2”错误,是因为为了最大限度的适应各种CPU,pip默认安装的tensorflow版本没有对AVX指令集进行支持,
有两种方法进行解决:
1.禁用Warnning的显示
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
2.第2种上官网找正确的安装版本,这里提供一个网上找到的版本,亲测有效!
链接:https://pan.baidu.com/s/1EvO_s1m10g8lW5TwiCESXw 密码:o6nq
以下在Pycharm进行的测试,可以发现并不报错了:
##############################
通往精神的路很多,物质只是其中一种
##############################
http://www.onejava.com/article/oracle/wip/wiptop.htm
https://docs.oracle.com/cd/A60725_05/html/comnls/us/index.htm
http://www.oracle.com/technetwork/cn/developer-tools/apex/getting-started-094884-zhs.html
https://docs.oracle.com/cd/B34956_01/current/html/docset.html
http://www.onejava.com/article/oracle/wip/wiptop.htm
https://docs.oracle.com/cd/A60725_05/html/comnls/us/index.htm
http://www.oracle.com/technetwork/cn/developer-tools/apex/getting-started-094884-zhs.html
https://docs.oracle.com/cd/B34956_01/current/html/docset.html