TypeError: __init__() got an unexpected keyword argument 'serialized_options'(安装protobuf 3.6.0)

1. 问题:TypeError: __init__() got an unexpected keyword argument 'serialized_options'

TypeError: __init__() got an unexpected keyword argument 'serialized_options'(安装protobuf 3.6.0)

2. 参考:https://blog.csdn.net/zxm1306192988/article/details/86545428  里面有个github解决网址

3. 解决:

pip install protobuf==3.6.0   

然后问题解决( pip install -U protobuf对我没用)

TypeError: __init__() got an unexpected keyword argument 'serialized_options'(安装protobuf 3.6.0)