Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions on how to set up env with conda? #276 #295

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 22 additions & 7 deletions website/docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,31 @@

When not using a docker container, we recommend using a virtual environment to install AutoGen. This will ensure that the dependencies for AutoGen are isolated from the rest of your system.

Using Venv
```bash
python3 -m venv autogen
source autogen/bin/activate
```

OR using conda
```bash
conda create -n autogen python=3.8
conda activate autogen
```

## Python

AutoGen requires **Python version >= 3.8**. It can be installed from pip:

Using pip
```bash
pip install pyautogen
```
<!--

or conda:
```
conda install pyautogen -c conda-forge
``` -->
```bash
conda install -c conda-forge pyautogui
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like an error

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tried in conda , works
image
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pyautogui is a different package from pypi: https://pypi.org/project/PyAutoGUI/

```

### Optional Dependencies
* docker
Expand All @@ -32,12 +40,19 @@ When running AutoGen out of a docker container, to use docker for code execution
pip install docker
```

* blendsearch
Or using conda
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put the conda options together at the end?

```bash
pip install "pyautogen[blendsearch]"
conda install -c conda-forge docker
```

* retrievechat
* blendsearch, retrievechat
```bash
pip install "pyautogen[blendsearch]"
pip install "pyautogen[retrievechat]"
```

Or using conda
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move the docker conda installation option here as well.

* blendsearch, retrievechat
```bash
conda install -c conda-forge -c bioconda "pyautogen[blendsearch,retrievechat]"
```