How do I create a conda virtual environment from a python script and execute something?

Viewed 13

I have a module which can takes a conda.yml file and another python file as input. I want to create a virtual environment and run that script within the module.

Is there a clean way to do that instead of calling subprocess?

0 Answers
Related