react-agent icon indicating copy to clipboard operation
react-agent copied to clipboard

Protobuf Gencode/Runtime major versions mismatch

Open eric-burel opened this issue 2 months ago • 0 comments

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.

eric-burel avatar Oct 01 '25 07:10 eric-burel