虚拟机,anaconda环境下,python 3.6.7
安装tensorflow(非gpu版本)
pip install tensorflow==1.12
,后测试报错
[root@lab-hdfs-gateway-0 ~]# python -c 'import tensorflow as tf; print(tf.__version__)'
Illegal instruction
解决办法
参考https://blog.csdn.net/darklucky/article/details/79947048
降级tensorflow到1.5或从源码安装,安装tensorflow1.5
pip install --upgrade tensorflow==1.5
解决