Find answers from the community

s
F
Y
a
P
Updated 7 months ago

Quick question: I'm trying to harden

Quick question: I'm trying to harden this thing:
Plain Text
  File "/Users/meow/Library/Caches/pypoetry/virtualenvs/my-agent-0qUI9MIn-py3.10/lib/python3.10/site-packages/llama_index/core/agent/react/step.py", line 202, in _extract_reasoning_step
    raise ValueError(f"Could not parse output: {message_content}") from exc


so I did this to my pyproject.toml:
Plain Text
[tool.poetry.dependencies]
llama-index = { path = "../../llama_index", develop = true }

where ../../llama_index is where I cloned https://github.com/run-llama/llama_index.

but I'm still seeing the traceback saying .../site-packages/... other than the ../../llama_index path I'm expecting.
I usually was able to do this with pip install -e ../../llama_index, which I tried also and observed the same.

I think this might be due to the new file organization with >0.10.0? (I know I haven't been around for a while...)
L
V
2 comments
pip install -e always works for me

But you need to install each package with -e

In this case:
pip install -e ./llama-index-core
Ah gotcha. That did the trick. Thanks Logan.
Add a reply
Sign up and join the conversation on Discord