I need to run my python script under Azure Machine Learning, using python=3.6.8 (not the default 3.6.2). I am using the AML "PyTorch()" Estimator, setting the "conda_packages" arg to ["python==3.6.8"].
I am relying on this doc page for the PyTorch Estimator:
When my script runs, I print out "sys.version" and see that it is still set to python 3.6.2:
python: 3.6.2 | packaged by conda-forge | (default, Jul 23 2017, 22:59:30) [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
I expected to see python 3.6.8, since I specified that in the PyTorch Estimator's conda_packages arg.
I also tried moving the "python==3.6.8" from conda_packages to pip_packages, but received an error saying pip could not locate that package.
FYI, I have another package specified in pip_packages, and that does get installed correctly during this process. It seems like the value of the "conda_packages" arg is not being used (I can find no mention of a conda or python install error in the AML logs for my job).