Error running haystack: Protobuf issue #5234
Replies: 3 comments 2 replies
-
Hey @sohanasarah we're going to need more context to help you out 🙂 Are you on Colab, on a notebook, or on a local machine? How did you install Haystack and on which OS? Which models are throwing this error? |
Beta Was this translation helpful? Give feedback.
-
@sohanasarah have you resolved this issue? I suspect that this issue is related to the protobuf package being incompatible with the generated proto files used in transformers. Have you tried a fresh env install of the latest haystack? Please let us know how to recreate this issue. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Team, I'm having the same issue, here are the details if it helps to understand the problem. Use Case: Semantic Search component consumes messages from Kafka and adds documents to the document store
Environment: MacOS Requirements
Issue
Workaround:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My working models suddenly started throwing the following error:
RuntimeError: Failed to import transformers.models.rag.modeling_rag because of the following error (look up to see its traceback):
Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
How to fix that?
Beta Was this translation helpful? Give feedback.
All reactions