Files
autogen/website/docs/Installation.md
Ayush Kumar Pandit 45677e3e08 docs: added virtual environment setup process (#249)
* docs: added virtual environment setup process

* Update website/docs/Installation.md

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-10-17 23:51:24 +00:00

1.1 KiB

Installation

Setup Virtual Environment

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.

python3 -m venv autogen
source autogen/bin/activate

Python

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

pip install pyautogen

Optional Dependencies

  • docker

For the best user experience and seamless code execution, we highly recommend using Docker with AutoGen. Docker is a containerization platform that simplifies the setup and execution of your code. Developing in a docker container, such as GitHub Codespace, also makes the development convenient.

When running AutoGen out of a docker container, to use docker for code execution, you also need to install the python package docker:

pip install docker
  • blendsearch
pip install "pyautogen[blendsearch]"
  • retrievechat
pip install "pyautogen[retrievechat]"