Answer from 2025 (should work for older versions too):
The easiest way I found to do this is to go to:
Command Pallete (Ctrl + P OR Cmd + P)
Go to Python: Select interpreter. you can select the interpreter of your environment.
This should fix your issue.