hey ,i'm having an issue with the code of a game i'm making, can someone please help me out

Posted by Hzbshh1162@reddit | learnprogramming | View on Reddit | 10 comments

here is the error i'm getting: "The image is in the same format as the one used previously in the program (which I got from someone else). Pygame 2.6.1 (SDL 2.28.4, Python 3.13.2) Hello from the pygame community. https://www.pygame.org/contribute.html 2025-03-20 10:04:55.447 Python[85995:7409126] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. Traceback (most recent call last): File "/Users/brad/Desktop/Pyanozore copie/game.py", line 225, in Game().run() \~\~\~\~\^\^ File "/Users/brad/Desktop/Pyanozore copie/game.py", line 30, in init 'grass': load_images('tiles/grass'), \~\~\~\~\~\~\~\~\~\~\~\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ File "/Users/brad/Desktop/Pyanozore copie/scripts/utils.py", line 15, in load_images images.append(load_image(path + '/' + img_name)) \~\~\~\~\~\~\~\~\~\~\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ File "/Users/brad/Desktop/Pyanozore copie/scripts/utils.py", line 8, in load_image img = pygame.image.load(BASE_IMG_PATH + path).convert() \~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ I don't understand, no matter which computer I use, it gives me the same problem every time."