执行TF时出现构建错误 .
我有一个包含文件问题 . 我已经安装了最新的zlib1g-dev,但没有运气 .
从源V0.3.2,TF命令构建的Bazel二进制文件:
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
错误:
ERROR: tensorflow/core/BUILD:853:1: undeclared inclusion(s) in rule '//tensorflow/core:lib_internal':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/lib/png/png_io.cc':
~/.cache/bazel/_bazel_madhu/a9aabe45cf3d94341ef4fb777deb58c5/external/zlib_archive/zlib.h'
~/.cache/bazel/_bazel_madhu/a9aabe45cf3d94341ef4fb777deb58c5/external/zlib_archive/zconf.h'."
1 回答
清理
$HOME/.cache/bazel
目录 .