Install the chatarena library by the following command:
pip install chatarena[all] # install all optional dependencies for full functionality
Then set the OpenAI key to the environment and make sure you have OpenAI library installed:
export OPENAI_API_KEY="your_api_key_here"
Run the demo by the following command:
python chameleon.py