Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm experiencing an error

Traceback (most recent call last):

  File "main.py", line 10, in <module>

  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load

  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked

  File "PyInstaller\loader\pyimod02_importers.py", line 450, in exec_module

  File "config.py", line 13, in <module>

pygame.error: WASAPI can't find requested audio endpoint: Element not found.

Please help

Never mind that was an issue on my end, my laptop wanted me to plug in my head phones to play the game

Hi there!

Thank you so much for reporting this issue and sharing the traceback. Based on the error message, it seems the game engine (Pygame) is unable to detect an active audio output on your computer at startup.

To fix this immediately on your end: Please make sure your speakers or headphones are plugged in and enabled in Windows sound settings before launching the game. If no audio device is detected, the engine can crash at startup.

On my end: I am currently working on a patch to include an audio "fallback" system. This will allow the game to launch normally even if no audio output is found, preventing this crash from happening in the future.

Sorry for the inconvenience, and thank you for playing my game!