activate conda in shell with this command
eval "$(/home/localstack/anaconda3/bin/conda shell.bash hook)"configure bioconda
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strictcreate the parent env
conda create --name parent-env -ycreate child env
conda create --name child-env simba -yrun the parent script
conda run -n parent-env python ./parent.pyOutput:
['./parent.py']
simba is not available in the env
['./child.py']
We just imported simba. In the current env, we have simba!