3D graphics Python

It still doesn’t do anything, doesn’t even open a window. Is absolutely fine 2D but as soon as I make it 3D it doesn’t work.