You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the program using Python 3.7.4, the program runs.
However, when I try to run the program using Python 3.8.5, I get the following error:
Traceback (most recent call last):
File "__main__.py", line 10, in <module>
menu_quit, debug = game.main_menu(i, win)
File "game.py", line 29, in main_menu
update_keyboard_menu(menu_spot, last_toggle, debug_state, frame)
File "lib.py", line 34, in update_keyboard_menu
if (pressed[pygame.K_UP] or pressed[pygame.K_w]) and (pressed[pygame.K_DOWN] or pressed[pygame.K_s]):
IndexError: list index out of range
The same occurs if I run the program use Python 3.9.1.
I noticed that on my computer, Python 3.7 is using Pygame 1.9.6 and Python 3.8 is using Pygame 2.0.0, so this might have something to do with the issue.
The text was updated successfully, but these errors were encountered:
When I run the program using Python 3.7.4, the program runs.
However, when I try to run the program using Python 3.8.5, I get the following error:
The same occurs if I run the program use Python 3.9.1.
I noticed that on my computer, Python 3.7 is using Pygame 1.9.6 and Python 3.8 is using Pygame 2.0.0, so this might have something to do with the issue.
The text was updated successfully, but these errors were encountered: