Your problem seems unique, so it is difficult to help. You could try uninstalling vpython and reinstalling, but I doubt that will solve the problem. Something that probably would work is to uninstall Python and install Anaconda, as described on the first page of
vpython.org.
I'll mention that your code makes no difference in whether you should be able to rotate and zoom. Built into VPython are the following mouse controls:
Right button drag or Ctrl-drag to rotate "camera" to view scene.
To zoom, drag with middle button or Alt/Option depressed, or use scroll wheel.
On a two-button mouse, middle is left + right.
Shift-drag to pan left/right and up/down.
Touch screen: pinch/extend to zoom, swipe or two-finger rotate.