cannot generate Opengl3.3 contex on mac and ubuntu

Hi:

I wrote a simple project like mayavi, https://github.com/yxdragon/myvi.

I use ModernGL and wx.glcanvas to implement it.

which is ok on windows, but cannot run on mac and linux.

I am sure my system support opengl3.3, because I use it in pyqt is OK.

where is wrong?

YXDragon