#ImportError: cannot import name 'AssistantAgent' from partially initialized module 'autogen' (most l
13 messages · Page 1 of 1 (latest)
Rename your script to something else than autogen.py
@short sorrel i just tried that, but still the same error 🤔
Traceback (most recent call last):
File "/Users/jasonzhou/Desktop/test agent/test.py", line 1, in <module>
from autogen import AssistantAgent, UserProxyAgent
ImportError: cannot import name 'AssistantAgent' from 'autogen' (/Users/jasonzhou/miniforge3/lib/python3.10/site-packages/autogen/init.py)
If you run `from autogen import AssistantAgent, UserProxyAgent' directly in python interpreter does that work?
That's what i did actually
i have that as the first line of import
maybe resinstall autogen? seems like an issue with setup.
ahh that helped thanks!
Hey @short sorrel sorry to bother you again
but i still got error running the basic example provided like above, do you know why?
See if this helps: #1157364980992184351 message
Your content of config_list maybe the issue.