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

Issue regarding AttributeError: module 'gym' has no attribute 'GoalEnv' #2847

Closed
RishiKasam opened this issue May 28, 2022 · 1 comment
Closed

Comments

@RishiKasam
Copy link

Hello guys, I am trying to build a custom environment in openai gym format. I built my env and wanted to make sure that it is compatible with the gym format, so used the check_env() to do so. And the image shows the error that I faced. My gym version is 0.21.0. I think i shouldnt be facing this issue according the solutions that I've searched so far. It would be great if someone can help me with this. Thanks in advance and please let me know if my code is needed
GoalEnverror
.

@jkterry1
Copy link
Collaborator

Gym removed GoalEnv many releases ago. SB3 is still using a very old version of Gym, the PR to bump it is here: DLR-RM/stable-baselines3#780

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