I'm trying to run the final zerg bot (zerg_agent_step7.py) through the command:
python3 -m pysc2.bin.agent --map Simple64 --agent zergbot.ZergAgent
and I got the error:
zerglings = self.get_units_by_type(obs, units.Zerg.Zergling) File "/Users/xx/Desktop/xx/xx/pysc2-tutorial/zergbot.py", line 25, in get_units_by_type return [unit for unit in obs.observation.feature_units AttributeError: 'NamedDict' object has no attribute 'feature_units'