原文:TypeError: __init__() got an unexpected keyword argument 'serialized_options'

问题描述: TypeError: init got an unexpected keyword argument serialized options 解决方法: 类型错误: init 得到意外的关键字参数 serialized options 出现该问题,很有可能是,终端上的 protoc 版本 与python库内的protobuf版本不一样。 安装对应版本的库即可 比如我的执行下列命令 pi ...

2019-10-24 18:47 0 579 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM