You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good evening, currently, I am doing the tutorial for Mesa-geo using Spyder. When I try to extract the agents using this line:
agent = m.space.agents[0]
I get a TypeError stating that: 'type' object is not subscriptable. Before that, I get a "Coordinate = tuple[int, int]." However, when I look at the mesa.space module, they mention lists?
I would expect for this just to give me the first agent from the listed url.
Thankfully this works just fine in Jupyter Notebook. Can you all help me figure out why this is not working in Spyder?
Thanks!