仅通过 python3.5 支持 CPU 的 tensorflow-windows 安装 [英] tensorflow-windows installation with CPU support only through python3.5
本文介绍了仅通过 python3.5 支持 CPU 的 tensorflow-windows 安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试在仅支持 CPU 的 windows7 中安装 Tensorflow.按照 tensorflow 站点中的说明,使用本机 pip 安装成功.但我无法验证安装.它正在生成一条错误消息,而不是打印 Hello, Tensorflow.错误显示 - tf 未定义,.未定义.错误截图:[1]:https://i.stack.imgur.com/hFLvr.png
Trying to install Tensorflow in windows7 with CPU support only. The installation was successful using a native pip, as instructed in tensorflow site. But i am not able to validate the installation. It is generating an error message instead of printing Hello, Tensorflow. error showing- tf is not defined,. sees is not defined. the screenshot of the error: [1]: https://i.stack.imgur.com/hFLvr.png
推荐答案
工作
py -m 3.6 pip install tensorflow
CPU 中缺少 AVX 指令会导致此错误.
The lack of AVX instruction in CPU can cause this error.
这篇关于仅通过 python3.5 支持 CPU 的 tensorflow-windows 安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文