Tencent / PhoenixGo

Go AI program which implements the AlphaGo Zero paper
Other
2.88k stars 577 forks source link

编译错误 #56

Closed ligan21 closed 6 years ago

ligan21 commented 6 years ago

在 centos 7 下,编译 phoeixGo 出现下面错误,是什么原因呢? [root@VM_29_117_centos PhoenixGo]# bazel build //mcts:mcts_main DEBUG: /root/.cache/bazel/_bazel_root/e348275a4d1fb6b530556d22a2214eb7/external/bazel_tools/tools/build_defs/repo/http.bzl:46:9: patch file //third_party/tensorflow:tensorflow.patch, path /root/PhoenixGo/third_party/tensorflow/tensorflow.patch ERROR: error loading package '': Encountered error while reading extension file 'tensorflow/workspace.bzl': no such package '@org_tensorflow//tensorflow': java.io.IOException: thread interrupted ERROR: error loading package '': Encountered error while reading extension file 'tensorflow/workspace.bzl': no such package '@org_tensorflow//tensorflow': java.io.IOException: thread interrupted INFO: Elapsed time: 109.216s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded)

wodesuck commented 6 years ago

可能是网络问题?重试一下试试?

ligan21 commented 6 years ago

用的腾讯云主机,国内网络是否要做相应处理?

wodesuck commented 6 years ago

我不太熟腾讯云,你试下能不能 wget 到 tf 的代码。

ligan21 commented 6 years ago

试了很多次,总是下载不完tf,网络问题,能否提供一个能手动下载tf 的bazel 的编译方法。

wodesuck commented 6 years ago

手动下载 bazel 依赖挺麻烦的,可以看下个这篇文章,仅供参考。