I am using a python program that uses some modules installed by conda in a separate variable. So before running the script I call from unix shell the following command to source the environment:
conda activate my-rdkit-env
is it possible to call it rather inside my python script? I've tried to do it in the following manner but it did not work
import subprocess
subprocess.run('conda init bash', shell=True)
#subprocess.run('conda activate my-rdkit-env', shell=True)