问题 I've been told to switch legacy profile to core profile from other stackoverflow posts but I can't seem to find a way to do that. So I'm positing a more updated error post to help me figure out a way. CODE: import glfw, numpy from OpenGL.GL import * import OpenGL.GL.shaders def main(): if not glfw.init(): return window = glfw.create_window(800,600,"My OpenGL Window", None, None) if not window: glfw.terminate() return glfw.make_context_current(window) triangle = [-0.5, -0.5, 0.0, 0.5, -0.5, 0