We recommended using a virtual environment for your project to keep your packages contained. See venv.

Install AG2 on your machine:

pip install ag2