首页 > 解决方案 > 从源代码构建张量流

问题描述

我正在尝试按照此链接从源代码构建 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 包。

它位于哪里?

标签: pythontensorflowbuildbazel

解决方案


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

不能更明确....


推荐阅读