Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with the pettingzoo pong environment #85

Closed
aditya3477 opened this issue Jul 25, 2023 · 0 comments
Closed

Error with the pettingzoo pong environment #85

aditya3477 opened this issue Jul 25, 2023 · 0 comments

Comments

@aditya3477
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants