projectmesa/mesa

Error running the code from the introductory tutorial page

Closed this issue · 3 comments

Hi!
So I was following along the introductory tutorial from the link in the readme file, and I encountered an error when running the code from the website (MoneyAgent and MoneyModel) , when i tried running the model.

It was easily fixed by passing an additional argument, but I still thought of mentioning it.
image

Would be happy to work on this if it needs fixing! thanks!

Which Mesa version are you using, and which version of the tutorial (stable or latest)?

Which Mesa version are you using, and which version of the tutorial (stable or latest)?

I am using mesa version 2.4.0
and this is the tutorial I was referring to: https://mesa.readthedocs.io/latest/tutorials/intro_tutorial.html#create-agent

You are looking at the tutorial for the latest version of the tutorial, which uses MESA 3.0, while have mesa 2.4 installed. Please update to the latest release (or wait a few hours to get the official stable release of MESA 3 later today).