You shell has not been properly configured to use ‘CONDA activate’ when you open the terminal under vs code
Solution:
1. Activation environment
#activate Envirnment
source activate
2. Exit environment
conda deactivate
3. Activate base
conda activate base
It seems that this method can only solve the problem for a short time, but it will still appear when you open it again. Finally, you can uninstall vs code from the anaconda navigator interface and install it again