在服务器上导入Tensorflow时出错

时间:2019-02-14 19:49:50

标签: python tensorflow

我已经通过下载然后安装离线在我的大学服务器中安装了tensorflow。在conda列表中显示了tensorflow。但是当我尝试导入时出现此错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/173190025/anaconda3/lib/python3.6/site-packages/tensorflow/__init__.py", line 22, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "/home/173190025/anaconda3/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 52, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "/home/173190025/anaconda3/lib/python3.6/site-packages/tensorflow/core/framework/graph_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
  File "/home/173190025/anaconda3/lib/python3.6/site-packages/google/protobuf/descriptor.py", line 46, in <module>
    from google.protobuf.pyext import _message
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/173190025/anaconda3/lib/python3.6/site-packages/google/protobuf/pyext/../../../../../libprotobuf.so.15)

0 个答案:

没有答案