OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

No module named litellm

Open davtin19 opened this issue 1 year ago • 2 comments

File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/Users/davidtingey/OpenDevin/opendevin/server/listen.py", line 1, in from opendevin.server.session import Session File "/Users/davidtingey/OpenDevin/opendevin/server/session.py", line 13, in from opendevin.agent import Agent File "/Users/davidtingey/OpenDevin/opendevin/agent.py", line 7, in from opendevin.llm.llm import LLM File "/Users/davidtingey/OpenDevin/opendevin/llm/llm.py", line 4, in from litellm import completion as litellm_completion ModuleNotFoundError: No module named 'litellm'

davtin19 avatar Mar 31 '24 18:03 davtin19

Pretty sure I had a similar error, I think my server wasn't properly started. Any errors from the frontend side?

rahulvaddepalli2 avatar Mar 31 '24 19:03 rahulvaddepalli2

Can you please check the README and try to do the Installation section: https://github.com/OpenDevin/OpenDevin?tab=readme-ov-file#installation

enyst avatar Mar 31 '24 19:03 enyst

Going to close this now that we have poetry

rbren avatar Apr 05 '24 18:04 rbren