Summary
Fresh ra-aid setup fails at startup with the following error
$ ra-aid
Traceback (most recent call last):
File "/home/rojovel/redjar/i+d/RA.Aid/venv/bin/ra-aid", line 5, in <module>
from ra_aid.__main__ import main
File "/home/rojovel/redjar/i+d/RA.Aid/venv/lib/python3.12/site-packages/ra_aid/__init__.py", line 2, in <module>
from .agent_utils import run_agent_with_retry
File "/home/rojovel/redjar/i+d/RA.Aid/venv/lib/python3.12/site-packages/ra_aid/agent_utils.py", line 10, in <module>
from langgraph.graph.graph import CompiledGraph
ModuleNotFoundError: No module named 'langgraph.graph.graph'
I tried to force install the version of langgraph in the pyproject.toml file but then I get tho following error
"""
from google.longrunning import (
File "/home/rojovel/redjar/i+d/r4r/raaid/path/to/venv/lib/python3.12/site-packages/google/longrunning/operations_proto_pb2.py", line 40, in
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Couldn't build proto file into descriptor pool: duplicate file name google/longrunning/operations.proto
"""
This makes me think that probably some update in the dependencies from google could create a dependency mismatch.
Environment
| Component |
Version |
| OS |
Alpine 3.21 (Docker) |
| Python |
3.12.3 |
| ra-aid |
0.30.2 |
Steps to Reproduce
- Fresh virtual-env / container
pip install ra-aid
- Run
ra-aid
Summary
Fresh
ra-aidsetup fails at startup with the following errorI tried to force install the version of langgraph in the pyproject.toml file but then I get tho following error
"""
from google.longrunning import (
File "/home/rojovel/redjar/i+d/r4r/raaid/path/to/venv/lib/python3.12/site-packages/google/longrunning/operations_proto_pb2.py", line 40, in
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Couldn't build proto file into descriptor pool: duplicate file name google/longrunning/operations.proto
"""
This makes me think that probably some update in the dependencies from google could create a dependency mismatch.
Environment
Steps to Reproduce
pip install ra-aidra-aid