Code runner not recognizing conda environment

Hi everyone,

I wanna use code runner extension on vs code to run python files using a conda environment. I have set the interpreter to this environment and added it to the path on windows, but still get this error when executing the code via code runner extension:

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

However, I can use the terminal to run the code with this environment since it’s been added to the path. Does anyone know what I can do to fix this problem?