Open Junyan-Lin opened 2 years ago
Find the location of 'conda.sh', normally should be in /opt/conda/etc/profile.d/ Add this command before conda activate source /opt/conda/etc/profile.d/conda.sh Then conda activate {environment you want to use} and should work
source /opt/conda/etc/profile.d/conda.sh
Put this in job script source /home/${USER}/.bashrc source /opt/conda/etc/profile.d/conda.sh
Find the location of 'conda.sh', normally should be in /opt/conda/etc/profile.d/ Add this command before conda activate
source /opt/conda/etc/profile.d/conda.sh
Then conda activate {environment you want to use} and should work