MLOpsPython icon indicating copy to clipboard operation
MLOpsPython copied to clipboard

Docker job fails with "ModuleNotFoundError"

Open MelissaKR opened this issue 4 years ago • 0 comments
trafficstars

I have followed the instructions for creating a customized docker image, and have successfully built and pushed it to Azure Container Registry. I then include the container image in the resources section of pipeline yml file, pass the container name inside the job. But when it comes to running a python script that calls packages installed in the image, I get ModuleNotFoundError. The container gets initialized at the beginning of the job run, and I have checked that the package has been successfully installed in the image. I'm not sure then why the script step cannot access the package from within the pulled image.

I'd appreciate any help.

MelissaKR avatar Feb 16 '21 17:02 MelissaKR