canal-python
canal-python copied to clipboard
漏了protobuf 包
protobuf 包最低版本是哪个,我pip isntall canal-python 后调用protocol\CanalProtocol_pb2.py 会报错,缺少from google.protobuf.internal import enum_type_wrapper。
到 这里下载 3.0+ https://github.com/protocolbuffers/protobuf/releases 例如选择 protobuf-python-3.13.0.zip 下载,解压后用python 编译安装后就安装了 google.protobuf 相关包
canal-python==0.4
protobuf==3.13.0
- setuptools [required: Any, installed: 50.3.0]
- six [required: >=1.9, installed: 1.15.0]