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

Problem with Gym Version Compatibility #49

Open
Light7Rain opened this issue Jan 21, 2025 · 0 comments
Open

Problem with Gym Version Compatibility #49

Light7Rain opened this issue Jan 21, 2025 · 0 comments

Comments

@Light7Rain
Copy link

While testing the Webshop environment, I encountered an issue when using Gym version v0.24.0. Executing the following code results in a warning message indicating that the gym.make function improperly calls the reset and step methods before returning the environment object:

sh run_web_agent_text_env.sh

The specific warning message is as follows:

Warning: Gym version v0.24.0 has a number of critical issues with `gym.make` such that the `reset` and `step` functions are called before returning the environment. It is recommended to downgrade to v0.23.1 or upgrade to v0.25.1.

To resolve this issue, I downgraded Gym to version v0.23.1, as upgrading to v0.25.1 introduced additional problems that did not help in solving the original issue. After downgrading to v0.23.1 and retesting, no warnings were observed, and the environment worked as expected.

Given the known issues with Gym v0.24.0, might it be possible to specify the use of Gym v0.23.1 in the project dependencies? This would prevent other users from encountering the same problem.

Thank you!

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

1 participant