小编san*_*ana的帖子

AttributeError:'module'对象没有属性'MutableMapping'

我按照说明在Ubuntu 14.04 g2.8xlarge aws实例上安装Google Tensorflow及其依赖项.在尝试运行示例问题时,我遇到了下面发布的错误.任何帮助将不胜感激.谢谢.

Traceback (most recent call last):
  File "convolutional.py", line 30, in <module>
    import tensorflow.python.platform
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 23, in <module>
    from tensorflow.python import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 37, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 6, in <module>
    from google.protobuf import descriptor as _descriptor
  File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 50, in <module>
    from google.protobuf.pyext import _message
AttributeError: 'module' object has no attribute 'MutableMapping'
Run Code Online (Sandbox Code Playgroud)

python ubuntu tensorflow

4
推荐指数
1
解决办法
2820
查看次数

标签 统计

python ×1

tensorflow ×1

ubuntu ×1