Selenium not recognised despite being listed by pip

  python, selenium

I’m trying to get selenium to work on my system, but despite it being listed when I use the pip list
command visual studio can’t seem to find the module.
I’ve tried uninstalling and re-installing but had no luck this way, I have python 3.9 and 3.7 installed on the laptop.

Source: Python Questions