python 安装 protobuff ,导入pb2异常
安装好protobuff (版本:2.4.1)的python(版本:2.6.6)之后
导入 生成的 _pb2.py 提示
File "module_net_pb2.py", line 53, in <module>
DESCRIPTOR.message_types_by_name['PBMsgNotifyStatus'] = _PBMSGNOTIFYSTATUS
AttributeError: 'FileDescriptor' object has no attribute 'message_types_by_name';
上述问题有可能的原因是啥呢?