8000 Gymnax 0.0.6 requires gym>=0.26, but Visualizer asserts gym==0.19.0 · Issue #57 · RobertTLange/gymnax · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Gymnax 0.0.6 requires gym>=0.26, but Visualizer asserts gym==0.19.0 #57

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

Open
keraJLi opened this issue May 10, 2023 · 5 comments · May be fixed by #84
Open

Gymnax 0.0.6 requires gym>=0.26, but Visualizer asserts gym==0.19.0 #57

keraJLi opened this issue May 10, 2023 · 5 comments · May be fixed by #84

Comments

@keraJLi
Copy link
Contributor
keraJLi commented May 10, 2023

See https://github.com/RobertTLange/gymnax/blob/9155a960c8fc951c58c562e5c207069da4741bf5/gymnax/visualize/visualizer.py#LL64C14-L64C47
While with gymnax 0.0.5 it was possible to force an install of gym 0.19.0 to use the visualizer, there currently doesn't seem to be a way to use it in gymnax 0.0.6.

@DriesSmit
Copy link
DriesSmit commented May 22, 2023

I am also having this issue 👍

@lebrice lebrice linked a pull request Sep 19, 2024 that will close this issue
@KaleabTessera
Copy link

Same here. Maybe merging #84 might be a good idea?

@RunnersNum40
Copy link

Even #84 doesn't currently remove the assertion error. With modern version of Python, Gymnax, Jax, Equinox, and pip I'm having a lot of trouble force installing gym 0.19.9, and it's preventing visualization. In its current state, I would call Gymnax visualization broken until this is fixed.

Has anyone figured out a workaround?

@agajews
Copy link
agajews commented May 9, 2025

Also having this issue.

@agajews
Copy link
agajews commented May 9, 2025

Update: I switched to using @yangli2's fork, which works for cartpole: https://github.com/yangli2/gymnax/tree/main

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

Successfully merging a pull request may close this issue.

5 participants
0