I have had this problem before, modules I install on my computer wouldn't show up in vs code. I asked around and found the answer: I was using VS Code's Python extension; but I forget how to replicate it.
CodePudding user response:
In the bottom left (with a python file open) you should see the currently used python:
Click on that to get a list of python versions found where you can choose one.