我最近请求帮助/sf/ask/1417746081/ -8它被投票和关闭(我不知道为什么)
事实证明,"make install" - 安装并暗示目标"install-target-libstdc ++ v3"的make目标实际上并不意味着你已经准备好了.
我已经被困了一段时间,想知道我做错了什么,因为我认为这样的制作目标会为我做那件事.
我希望这个答案能帮助至少一个人.
我收到以下错误:
ImportError:/lib64/libstdc++.so.6:找不到版本'CXXABI_1.3.9'(/home/wasiahmad/software/anaconda3/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-x86_64要求-linux-gnu.so)
在这一行:
import matplotlib.pyplot as plt
Run Code Online (Sandbox Code Playgroud)
我已经访问了Github和StackOverflow中报告的问题,并对其进行了跟踪,但仍然无法解决问题。
解决方案检查:
我检查了文件:libstdc++.so.6位于,/home/wasiahmad/software/anaconda3/lib/然后运行以下命令:
$ strings ~/software/anaconda3/lib/libstdc++.so.6 | grep CXXABI_1.3.9
Run Code Online (Sandbox Code Playgroud)
然后返回CXXABI_1.3.9。
但是我仍然不知道是什么问题。任何帮助,将不胜感激。
我在Ubuntu 16.04,我试图根据从源代码与GPU支持建立TensorFlow 此.一切正常,直到"Build TensorFlow"步骤,我执行:
bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
Run Code Online (Sandbox Code Playgroud)
编译遇到输出错误:
ERROR: /home/thomas/tensorflow/tensorflow/core/BUILD:978:28: Executing genrule //tensorflow/core:proto_text_srcs_all failed: bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
bazel-out/host/bin/tensorflow/tools/proto_text/gen_proto_text_functions: /home/thomas/anaconda2/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by bazel-out/host/bin/tensorflow/tools/proto_text/gen_proto_text_functions)
bazel-out/host/bin/tensorflow/tools/proto_text/gen_proto_text_functions: /home/thomas/anaconda2/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by bazel-out/host/bin/tensorflow/tools/proto_text/gen_proto_text_functions)
bazel-out/host/bin/tensorflow/tools/proto_text/gen_proto_text_functions: /home/thomas/anaconda2/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by bazel-out/host/bin/tensorflow/tools/proto_text/gen_proto_text_functions)
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
Run Code Online (Sandbox Code Playgroud)
我怀疑这个错误与anaconda有关,因为bazel似乎在寻找libstdc …
anaconda ×1
bazel ×1
c++ ×1
installation ×1
linux ×1
python ×1
tensorflow ×1
ubuntu ×1
unix ×1