OpenBMB / ChatDev

Create Customized Software using Natural Language Idea (through LLM-powered Multi-Agent Collaboration)
https://arxiv.org/abs/2307.07924
Apache License 2.0
25.65k stars 3.22k forks source link

Cannot import name 'get_easyDict_from_filepath' from 'utils' #395

Closed windowsagent closed 3 months ago

windowsagent commented 4 months ago

from chatdev.chat_chain import ChatChain File "/content/ChatDev/chatdev/chat_chain.py", line 12, in from chatdev.chat_env import ChatEnv, ChatEnvConfig File "/content/ChatDev/chatdev/chat_env.py", line 16, in from ecl.memory import Memory File "/content/ChatDev/ecl/memory.py", line 15, in from utils import get_easyDict_from_filepath,log_and_print_online

shiowen commented 3 months ago

It seems you are encountering an ImportError. You can check the utils.py file to make sure it is in the correct directory and accessible from where you are trying to import it.