google-deepmind / concordia

A library for generative social simulation
Apache License 2.0
633 stars 148 forks source link

agent_tutorial.ipynb has an import error #77

Closed alcime closed 1 month ago

alcime commented 1 month ago

After dowloading and uploading on google colab the agent_tutorial.ipynb, running it raises the following error on the second cell of the notebook:


ImportError Traceback (most recent call last)

in <cell line: 12>() 10 11 from concordia import typing ---> 12 from concordia.agents import basic_agent 13 from concordia import components as generic_components 14 from concordia.components.agent import to_be_deprecated as agent_components

ImportError: cannot import name 'basic_agent' from 'concordia.agents' (/usr/local/lib/python3.10/dist-packages/concordia/agents/init.py)

I did execute the previous cell !pip install --ignore-requires-python git+https://github.com/google-deepmind/concordia.git

jzleibo commented 1 month ago

This is fixed now I believe