Tips & Tricks
Specify same version of conda dependency in child run
In this example we want to ensure that the same version of sklearn
is added as a conda dependency.
import sklearn
from azureml.core import RunConfiguration
rc = RunConfiguration()
rc.environment.python.conda_dependencies.add_conda_package(
f"scikit-learn=={sklearn.__version__}"
)