Skip to content

Error with the pettingzoo pong environment #47

@aditya3477

Description

@aditya3477

I was trying to run my algorithm on the Pong environment from PettingZoo for this project, but I kept getting errors. The first one is, when I try to install the multi agent ale package, it does not happen fully (I tried this in google colab and my local system). The second one is a consequence of the first one due to which I cannot run the environment. I have attached the images of the errors that I encountered at various stages.
In one of the images, there is a link to your github repository, which was given as reference for when there is an error, but I could not find anything that helped me with this problem nor any stackoverflow or github blog for that matter.

This is the code and the packages I have been trying to download:

!pip install gymnasium matplotlib numpy atari-py gym[atari,accept-rom-license]

!pip install ale-py gym[all] git --upgrade git+[https://github.com/openai/gym`](https://github.com/openai/gym%60)

!pip install gym[box2d]

!pip install pettingzoo

!pip install pymunk

!pip install multi_agent_ale_py autorom

from pettingzoo.atari import pong_v3
env = pong_v3.env(num_players=2)
google_colab_error multi_agent_ale_error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions