Dear All,

Since I installed RDKIT using conda, I have to use the following
command from my bash terminal to activate the RDKIT environment:
conda activate my-rdkit-env
How can I do the same but inside my python script?
I have already tried to call subprocess, but it did not work
# source environment from python script;
subprocess.run('conda init bash', shell=True)
subprocess.run('conda activate my-rdkit-env', shell=True)


_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to