autogen icon indicating copy to clipboard operation
autogen copied to clipboard

[Issue]: ImportError: Please install dependencies first although I already installed them.

Open selimhanerhan opened this issue 1 year ago • 4 comments

The issue

I use a virtual environment and installed pyautogen[retrievechat] by running pip install "pyautogen[retrievechat]" but still getting the error saying that dependency isn't installed

Screenshots and logs

image

selimhanerhan avatar Jan 12 '24 19:01 selimhanerhan

@selimhanerhan can you please run the following commands and report outputs:

pip list | grep chromadb
pip list | grep pyautogen

davorrunje avatar Jan 12 '24 20:01 davorrunje

Hi Sorry for the late reply! for grep pyautogen pyautogen 0.1.14 I get blank output when I type grep chromadb. I reinstalled the chromadb and still getting the same output

selimhanerhan avatar Jan 15 '24 18:01 selimhanerhan

The latest version of autogen is 0.2.6. Please install it with:

pip install "pyautogen[retrievechat]==0.2.6"

Then run the commands again and verify that you have the latest versions:

pip list | grep chromadb
pip list | grep pyautogen

davorrunje avatar Jan 15 '24 18:01 davorrunje

Also make sure you are not using Python 3.12. Use Python 3.11. Related #1271

ekzhu avatar Jan 15 '24 20:01 ekzhu

Also make sure you are not using Python 3.12. Use Python 3.11. Related #1271

Thank you! this solved my issue.

selimhanerhan avatar Jan 17 '24 19:01 selimhanerhan