Skip to content

Protobuf Gencode/Runtime major versions mismatch #26

@eric-burel

Description

@eric-burel

Hi,

Colleagues of mine are hitting an error when creating a new ReAct agent with Python 3.12.3:

Reproduction:

# With Python 3.12.3
pip install --upgrade "langgraph-cli[inmem]"
langgraph new ./react-agent --template react-agent-python 
cd ./react-agent
pip install -e .
langgraph dev

Error:

google.protobuf.runtime_version.
VersionError: Detected mismatched Protobuf Gencode/Runtime major versions when loading core-api.proto: 
gencode 6.31.1 runtime 5.29.3. 
Same major version is required. 
See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.

Still looking for a fix.

Seems that pip install protobuf==6.32.1 helps but triggers other (non blocking) warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions