我嘗試從源代碼安裝Tensorflow。Tensorflow安裝失敗。 TensorContractionThreadPool.h:沒有這樣的文件或目錄
./configure
bazel build --copt=-march=native --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
但是當我做「巴澤勒建設......」它提升一個像這樣的異常..
ERROR: /home/anderson/Downloads/tensorflow/tensorflow/core/kernels/BUILD:300:1: C++ compilation of rule '//tensorflow/core/kernels:reader_base' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter ... (remaining 115 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
In file included from ./tensorflow/core/framework/numeric_types.h:25:0,
from ./tensorflow/core/framework/allocator.h:23,
from ./tensorflow/core/framework/op_kernel.h:22,
from ./tensorflow/core/framework/queue_interface.h:22,
from ./tensorflow/core/kernels/reader_base.h:21,
from tensorflow/core/kernels/reader_base.cc:16:
./third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint:42:52: fatal error: src/Tensor/TensorContractionThreadPool.h: No such file or directory
compilation terminated.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
說得簡單,它說「SRC /張量/ TensorContractionThreadPool.h:無這樣的文件或目錄「
我能做些什麼來解決這個問題?
是的,已知的問題。在https://github.com/tensorflow/tensorflow/issues/6558 –
@YaroslavBulatov的評論中有一個解決方法謝謝。但沒有任何建議不能解決問題.... – Anderson