Farama-Foundation / Farama-Foundation/AutoROM

Error with the pettingzoo pong environment

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
79
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.