vscode CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To

出现这个问题,我安装了ananconda

 

我的解决方法如下: 首先conda info  ,发现原始信息   

conda info   #在anancoda prompt命令行操作
 

active environment : None   #显示的信息

vscode CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To_第1张图片

vscode里面可以配置自己的python解释器,发现使用的是base:conda

因为我没有创建虚拟环境,所以猜测我的base环境没有打开 

conda activate base  #在anaconda prompt命令行操作

vscode CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To_第2张图片

你可能感兴趣的:(vscode CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To)