Python protobuf “from google.protobuf.pyext import _message” - “ImportError: DLL load failed: The specified procedure could not be found”

前端 未结 2 1635
北海茫月
北海茫月 2021-01-12 09:41

I\'m trying to get a simple Python script up to convert protobuf files into json files (required format for what I\'m doing at work).

I\'ve seen some recommendations

相关标签:
2条回答
  • 2021-01-12 09:52

    I struggled with this error when I started to play with TensorFlow 2 and Keras. After almost two hours trying to solve the error, this combination worked: - python 3.6.8 (3.6.0 didn't work) - pip 20.0.2 - protobuf 3.8.0 (3.6 didn't worked for me, maybe because TensorFlow 2)

    bw, -Sami-

    0 讨论(0)
  • 2021-01-12 10:04

    the solution is to downgrade your protobuf to 3.6.0 instead of 3.6.1

    0 讨论(0)
提交回复
热议问题