#No module named 'autogen.agentchat.contrib.gpt_assistant_agent'

7 messages · Page 1 of 1 (latest)

rustic bear
#

ModuleNotFoundError: No module named 'autogen.agentchat.contrib.gpt_assistant_agent'

I tried to reinstall pyautogen, but still the same error

vagrant zenith
#

@rustic bear Two factors here. Are you cloning the repo, or are you just using autogen through pip install? Second, are you intending to use the latest api that openai released on devday, or the older openai api version?

rustic bear
#

Hey Ricky, just resolved - i realised that i need to install that special version of autogen, all good now!

mild musk
#

I'm also facing the same issue. There's a special version of autogen?

vagrant zenith
#

There are 2 versions of pyautogen available from the public pip install: one for the old openai==0.x library, and another for the new openai==1.x library.

#

Use pip install pyautogen to use openai==0.x. Use pip install pyautogen==0.2.0b6 for openai==1.x.

mild musk
#

Amazing. That worked. Thanks