I have written the following simple program which should print out all events detected by pygame.event.get().
pygame.event.get()
import pygame, sys from pygame.loc
If you're working in a virtualenv, don't use the virtualenv command.
virtualenv
Use python3 -m venv.
python3 -m venv
Then install pygame (e.g. pip3 install hg+http://bitbucket.org/pygame/pygame).
pip3 install hg+http://bitbucket.org/pygame/pygame
See this thread for more details on this issue.