mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-04 00:05:08 -05:00
* 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>
1.1 KiB
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]"