Skip to content

CMD code problem #130

@XxprofacuxX

Description

@XxprofacuxX

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions