I was getting this error when I tried to run my pygame.midi code:
ALSA lib conf.c:3558:(snd_config_hooks_call) Cannot open shared library libasound_module_con