“conda activate” works in terminal but not in .sh file

后端 未结 0 1391
忘了有多久
忘了有多久 2020-11-27 09:57

I try:

#!/bin/bash
source ~/opt/anaconda3/etc/profile.d/conda.sh
conda activate my-env

and

#!/usr/bin/env bash -l
conda activa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题