关于tensorflow的安装及配置问题

a15619026195 2017-11-15 04:42:43
在使用源码方式安装tensorflow的过程中,出现了以下两个问题,不知道如何解决
1.配置时并没有出现configuration finished字样出现 具体情况如下
D:\Git\tensorflow>configure.py
You have bazel 0.7.0 installed.
Please specify the location of python. [Default is C:\Python27\python.exe]:


Found possible Python library paths:
C:\Python27\lib\site-packages
Please input the desired Python library path to use. Default is [C:\Python27\lib\site-packages]

Do you wish to build TensorFlow with XLA JIT support? [y/N]:
No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with GDR support? [y/N]:
No GDR support will be enabled for TensorFlow.

Do you wish to build TensorFlow with VERBS support? [y/N]:
No VERBS support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]:
No CUDA support will be enabled for TensorFlow.

Do you wish to build TensorFlow with MPI support? [y/N]:
No MPI support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:


Add "--config=mkl" to your bazel command to build with MKL support.
Please note that MKL on MacOS or windows is still not supported.
If you would like to use a local MKL instead of downloading, please set the environment variable "TF_MKL_ROOT" every time before build.
随后我尝试了直接使用bazel安装

警告是没有protobuf,不过我已经安装了protobuf(使用pip安装指令安装的)
不知道有什么办法 解决这个问题
...全文
336 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
a15619026195 2017-11-27
  • 打赏
  • 举报
回复
好像还是没办法,算了,放弃Windows下的源码安装了,只装个不带avx指令集的好了
冰霜灼烧 2017-11-23
  • 打赏
  • 举报
回复
试试python3.5 3.6好像有点问题
a15619026195 2017-11-20
  • 打赏
  • 举报
回复
我一开始安装的Python3.6后来用choco安装bazel的时候给我覆盖了,那我试试哈
ceasing 2017-11-15
  • 打赏
  • 举报
回复
楼主,我看tf官网说明是需要python 3,64位,要不你下个python 3.6试试?

37,720

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧