Starting conda in a different directory will give different results


I use the terminal in VSCode. I got this error when I activate any environment (including the base):


After this, it seems that the environment is not actually properly set up. It cannot find the command “python” or any other things I installed.

The most interesting thing is, it only happens when I open one specific folder in the VSCode and then use the terminal inside VSCode. No error wiill be reported if I open any other folder (parent or child dir). Neither if I use the “outside” terminal instead of the one from VSCode.

Does anyone have a clue what this is about? Thanks in advance!