Question: how to use vpython in spyder?
Answer: pip install spyder-notebook.
then launch spyder and click on the notebook tab at the bottom of the spyder display.
If everything is installed OK with spyder-notebook then you should see the notebook screen appear in spyder.
Type some vpython code in the spyder-notebook cell and run the cell. ... 
from vpython import *