windows系统git bash激活conda虚拟环境

进入文件conda文件

D:\anaconda_\scripts

右击鼠标

git bash here

输入命令

source activate

激活虚拟环境

conda activate env_name

进入sh文件所在的文件夹,注意斜线的方向向左倾斜

 cd D:/xx/xx/  
运行sh文件

bash xx.sh

你可能感兴趣的:(git,conda)