【问题标题】:Building tensorflow from source从源代码构建张量流
【发布时间】:2021-05-17 04:30:09
【问题描述】:

我正在尝试按照 link 从源代码构建 tensorflow。

在第 8 步中,我不得不修改 configure.py 第 482 行以硬编码我正在使用的 bazel 版本 (2.0.0),因为本来应该让它崩溃的函数。

执行我已经完成了链接中的所有操作。在第 9 步中,我需要执行命令 bazel build 并获得以下输出:

>bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
.bazelrc

很遗憾,我找不到应该由该命令生成的 .whl 包。

它在哪里?

【问题讨论】:

    标签: python tensorflow build bazel


    【解决方案1】:

    看起来上面的输出实际上是在说:“请以管理员权限运行我”。

    再明确不过了....

    【讨论】:

      猜你喜欢
      • 2019-07-24
      • 1970-01-01
      • 2021-05-12
      • 1970-01-01
      • 1970-01-01
      • 2013-06-01
      • 2012-12-11
      • 2015-08-20
      • 2011-09-05
      相关资源
      最近更新 更多