[Solved] Cannot find reference ‘midi’ in ‘__init__.py’


I found out that Pygame.Midi requires portmidi which is preinstalled with pygame in the form of:

from pygame import pypm
pypm.Initialize()
#needed to initialize pygames compiled version of pyPortMidi

It seems to also be an issue other than the interpreter.

solved Cannot find reference ‘midi’ in ‘__init__.py’