Install python-sdl2 by entering the following commands in the terminal:
sudo apt update sudo apt install python-sdl2
Description:
Python bindings to the SDL2 C-library (Python 2 build)
PySDL2 is a ctypes based wrapper around the Simple DirectMedia Layer 2 library to allow portable low level access to a video framebuffer, audio output, mouse and keyboard. . This module is built for Python version 2.x.
Homepage: https://bitbucket.org/marcusva/py-sdl2
Version: 0.9.3+dfsg2-1
Section: universe/python