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

error when running main.py #3

Open
VinnyT456 opened this issue Nov 20, 2023 · 0 comments
Open

error when running main.py #3

VinnyT456 opened this issue Nov 20, 2023 · 0 comments

Comments

@VinnyT456
Copy link

VinnyT456 commented Nov 20, 2023

I'm having trouble with running the main.py file. After I run it and choose the game and mode it will first open the window then immediately give me this error

  File "~/pyboy RL/main.py", line 244, in <module>
    env.reset()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gym/wrappers/frame_stack.py", line 186, in reset
    obs, info = self.env.reset(**kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gym/wrappers/normalize.py", line 84, in reset
    obs, info = self.env.reset(**kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/gym/core.py", line 379, in reset
    obs, info = self.env.reset(**kwargs)
    ^^^^^^^^^
ValueError: too many values to unpack (expected 2)
Error in sys.excepthook:

Original exception was:
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