老电脑安装tensorflow出现illegal hardware instruction python

作者: shaneZhang 分类: 机器学习基础知识 发布时间: 2018-12-23 21:38

今天在家里的电脑安装tensorflow的时候出现了一个奇怪的错误illegal hardware instruction python,一直查不出来原因,因为在公司电脑安装的时候是非常顺利的,可是没想到在家里电脑安装tensorflow的时候一直出现这个问题。

经过一番搜索之后发现这个tensorflow的坑。它最新的版本不支持老旧的CPU。这个时候需要强制安装老版本的tensorflow…..

Try running
pip uninstall tensorflow
And then
pip install tensorflow==1.5

just to give credit, solution is from here:
https://stackoverflow.com/questions/49094597/illegal-instruction-core-dumped-after-running-import-tensorflow

本页面支持繁体中文友好显示:老电脑安装tensorflow出现illegal hardware instruction python

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表回复