I have a code (web scraping) that I am following along with a course that does work just fine if I use Jupyter notebook . But when I run it in vs code it raises the following error show in pic. I have not changed the PYTHONPATH and I am not sure why it references PsychoPy3 which stand-alone program.

note that bs4 has been installed via the command line but I was not able to installed vis vs code terminal ?