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

前端 未结 2 1671
北海茫月
北海茫月 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-

提交回复
热议问题