As the title suggest, VSCode is using the wrong interpreter, even though the correct one is listed. As can be seen in the picture, my python script errors out as it cannot find some packages within the environment. After checking which interpreter it is using, it says python 3.8.12 (my base environment). The environment that I am running my code in should be python 3.9.7 (see bottom right of picture).
Now how do I ensure the code runs in the right environment?
