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

CMD code problem #130

Open
XxprofacuxX opened this issue Oct 15, 2023 · 0 comments
Open

CMD code problem #130

XxprofacuxX opened this issue Oct 15, 2023 · 0 comments

Comments

@XxprofacuxX
Copy link

Hey, i get this problem everytime i start the gym_super_mario_bros code on cmd:

C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\gym\envs\registration.py:555: UserWarning: WARN: The environment SuperMarioBros-v0 is out of date. You should consider upgrading to version `v3`.
  logger.warn(
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\Scripts\gym_super_mario_bros.exe\__main__.py", line 7, in <module>
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\gym_super_mario_bros\_app\cli.py", line 61, in main
    env = gym.make(args.env, stages=args.stages)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\gym\envs\registration.py", line 652, in make
    raise e
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\gym\envs\registration.py", line 640, in make
    env = env_creator(**_kwargs)
TypeError: SuperMarioBrosEnv.__init__() got an unexpected keyword argument 'stages'

Can someone help me please?

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