Open robertstarling opened 1 month ago
Adding an explicit dependency in contoso_manufacturing\developer\webapp-decode\requirements.txt
as follows appears to resolve the issue:
numpy==1.26.4
The line 'import cv2' was resulting in the error. As is mentioned in the resolution: If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2'
Downgrading the numpy to 1.26.4 resolved the issue. Any version < 2.0.0 should also work: https://stackoverflow.com/questions/78636947/a-module-that-was-compiled-using-numpy-1-x-cannot-be-run-in-numpy-2-0-0-as-it-ma
Pull request with this fix is here: https://github.com/microsoft/jumpstart-agora-apps/pull/152
Hitting the following
CrashLoopBackOff
container runtime error when rebuildingjumpstartprod.azurecr.io/ag_mfg_webui:latest
from the source code usingcontoso_manufacturing/developer/webapp-decode/Dockerfile
Steps to reproduce:
microsoft/jumpstart-agora-apps:main
jumpstartprod.azurecr.io/ag_mfg_webui:latest
container fromcontoso_manufacturing/developer/webapp-decode/Dockerfile
jumpstartprod.azurecr.io/ag_mfg_webui:latest
to the newly built containerThe flask-app-deployment pods now fail with the error shown above.