安装tb网关报错AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
用的python3.8,在ubuntu虚拟机上安装的
网上说查了查把protoc和protobuf版本改成一致的,我都安装的3.9.0的,还是没用
哪位知道怎么解决哇
- 查看protoc的版本,在命令行输入如下代码:
protoc --version
- 查看protobuf版本:
pip show protobuf
如果两个版本不一致,那么请将两个的版本保持到一致。
https://blog.csdn.net/Jwenxue/article/details/107240444