MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

conda_packages argument failing

Open zackdrescher opened this issue 7 years ago • 5 comments

Leverage a conda environment yml I parsed into a list of dependencies, the Esitmator arguement is failing on 'python=3.6.8=h9f7ef89_0'. it doesnt appear to be able to properly parse the version.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

zackdrescher avatar Feb 07 '19 15:02 zackdrescher

Tagging @hning86

aashishb avatar Feb 07 '19 21:02 aashishb

@hning86, I have similar issues to @zackdrescher in that I can't build specify an environment as part of a run config file. I only get it to work when explicitly passing packages to conda_packages or pip_packages argument. Here is a link to both of those scenarios along with the .runconfig and conda_dependencies.yml

https://gist.github.com/swanderz/2551e8fcf36dcd3426b15915e4652757

dataders avatar Feb 08 '19 19:02 dataders

you can load an existing conda.yml file and rehydrate it into a conda dependency object:

cd = CondaDependencies(conda_dependencies_file_path='env.yml')

hning86 avatar Feb 12 '19 19:02 hning86

also, @zackdrescher, it should probably be "python=3.6.8-h9f7ef89_0", or simply "python=3.6.8"

hning86 avatar Feb 13 '19 15:02 hning86

Thanks for the help. I talked with some others at microsoft and i think we had been a little to litteral with our dependency management. We have since started useing the CondaDependencies object and it seems to be working.

zackdrescher avatar Feb 13 '19 20:02 zackdrescher