Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

漏了protobuf 包 #18

Open
tonyhu214 opened this issue May 13, 2020 · 3 comments
Open

漏了protobuf 包 #18

tonyhu214 opened this issue May 13, 2020 · 3 comments

Comments

@tonyhu214
Copy link

No description provided.

@tonyhu214 tonyhu214 reopened this May 13, 2020
@tonyhu214
Copy link
Author

protobuf 包最低版本是哪个,我pip isntall canal-python 后调用protocol\CanalProtocol_pb2.py 会报错,缺少from google.protobuf.internal import enum_type_wrapper。

@sheenzxx
Copy link

到 这里下载 3.0+ https://github.com/protocolbuffers/protobuf/releases 例如选择 protobuf-python-3.13.0.zip 下载,解压后用python 编译安装后就安装了 google.protobuf 相关包

@AntmanTmp
Copy link

canal-python==0.4
protobuf==3.13.0
  - setuptools [required: Any, installed: 50.3.0]
  - six [required: >=1.9, installed: 1.15.0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants