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
Version 0.3.3 depends on pettingzoo >= 1.23.1, but all the versions of pettingzoo above 1.22 are not compatible with MAgent2 environment creation and cause this: #31
To fix, you need to forcefully install the pettingzoo 1.22.3
The text was updated successfully, but these errors were encountered:
Shmuma
changed the title
Wrong dependency on pettingzoo
Broken dependency on pettingzoo
Sep 8, 2024
This Problem does still exist.
(Python 3.12.4 via pyenv on a apple sillicon M1)
I tried pettingzoo 1.23.0, 1.23.1 and 1.24.3.
None of them is compatible and I get the following error:
pettingzoo/utils/conversions.py", line 284, in reset
self._observations, self.infos = self.env.reset(seed=seed, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)
when I try to execute "env.reset()" in
from magent2.environments import battle_v4
env = battle_v4.env(map_size=16, render_mode='human')
env.reset()
for agent in env.agent_iter():
observation, reward, termination, truncation, info = env.last()
action = policy(observation, agent)
env.step(action)
Hi!
Version 0.3.3 depends on
pettingzoo >= 1.23.1
, but all the versions of pettingzoo above 1.22 are not compatible with MAgent2 environment creation and cause this: #31To fix, you need to forcefully install the pettingzoo 1.22.3
The text was updated successfully, but these errors were encountered: