Shalini
Shalini

Reputation: 27

how to import ConversableAgent from autogen

I am using Python 3.12 and have installed autogen package. When I try following import:

from autogen import ConversableAgent

I get error msg, as follows:

ImportError: cannot import name 'ConversableAgent' from 'autogen' 
(C:\Users\hp\GenAI\.venv\Lib\site-packages\autogen\__init__.py)

Upvotes: -1

Views: 1055

Answers (1)

Shalini
Shalini

Reputation: 27

Resolved. the module tobe installed is 'pyautogen'.

Upvotes: 1

Related Questions