报错内容:for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
更新TensorFlow新版本,import报错手残更新了2.1版本,结果,,,,

问题原因

tensorflow的新版本不支持比较老的cpu

解决办法

卸载现有的tensorflow,安装tensorflow1.5版本

依次执行:

pip uninstall tensorflow

pip install tensorflow==1.5 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

相关文章: