The python interpreter that I choose is python 3.7.16(tf:conda )which is set by anaconda. And its path in my computer is F:\anaconda\envs\tf\python.exe. In the user's setting.json , I changed the interpreter path to F:\anaconda\envs\tf\python.exe.
But when I run my code in vscode, it uses a different interpreter other than the one that I chose, and its path is F:\python \python 310\ python.exe