Have a look at this video for running vpython in visual studio code.
It shows how to get started running vpython in no_notebook mode in visual studio code in the first 15 minutes of the video with a demo. I am not sure if the jupyter notebook in visual studio code supports vpython. If vscode is not using jupyterlab version 4.x or notebook version 7.x then it probably won't work. Also make sure you are using the latest release of vpython which is version 7.6.5.
If you can't get that to work and you want to run vpython in a desktop app you can try installing the JupyterLab Desktop App which works with vpython.
Also you can try running vpython in a jupyter notebook in the cloud using
mybinder.org by setting up your own github repository with your jupyter notebooks with a "binder" directory like in this github repository which will then make sure the python packages in that directory including vpython are installed in
mybinder.org
You can run this demo which has several vpython demo jupyter notebook files in jupyterlab interface in the cloud in mybinder with this link.
John