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のversionに関するbug #1144

Closed
nissymori opened this issue Oct 1, 2022 · 3 comments · Fixed by #1145
Closed

protobufのversionに関するbug #1144

nissymori opened this issue Oct 1, 2022 · 3 comments · Fixed by #1145

Comments

@nissymori
Copy link
Collaborator

nissymori commented Oct 1, 2022

昨日mergeした際に取り込んだupdateによって以下のbugが発生するようになりました.
スクリーンショット 2022-10-01 9 50 46

調べたろことversion周りのエラーっぽいです.
protocolbuffers/protobuf#9778
https://ittutorialpoint.com/importerror-cannot-import-name-builder-from-google-protobuf-internal/

pipでprotobufのversionを変えていると以下のような警告が表示されます.
スクリーンショット 2022-10-01 9 57 58

grpcio==1.49.1とprotobuf==3.17.3はrequirementsで指定されていますが, incompatibleなようです.

リンクにある解決法を試していきます.

@sacckey
Copy link
Contributor

sacckey commented Oct 1, 2022

私の環境だとpip install protobuf==3.20.0で解決しました(警告は出ますが)。
grpcのversionを上げたときに気付けず申し訳ないです🙇‍♂️

@nissymori
Copy link
Collaborator Author

nissymori commented Oct 1, 2022

pip install protobuf==3.20.0

ありがとうございます!私の環境でも同じ方法で解決しました!

@sotetsuk
Copy link
Collaborator

ご報告ありがとうございました 🙏
遅くなりましたが対応しました 🙏

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

Successfully merging a pull request may close this issue.

3 participants