1.用source激活
#!/bin/bash
source activate py38
a=`which python`
echo $a
2.用conda激活
#!/bin/bash
source ~/anaconda3/etc/profile.d/conda.sh
conda activate py38
a=`which python`
echo $a
1.用source激活
#!/bin/bash
source activate py38
a=`which python`
echo $a
2.用conda激活
#!/bin/bash
source ~/anaconda3/etc/profile.d/conda.sh
conda activate py38
a=`which python`
echo $a