Open nickward13 opened 3 weeks ago
Hey Nick, thanks for raising this. I haven't been able to replicate it but have updated the azure.yaml
to run the command with python3
instead of python3.11
in case there is an issue there (this is unlikely but worth a shot). Are you able to test whether this works? And can you confirm that you attempted deployment without any modification to the files?
I'm getting an error when deploying the webapp service to my Azure account as follows:
ERROR: failed deploying service 'webapp': failed invoking event handlers for 'postdeploy', 'postdeploy' hook failed with exit code: '127', Path: '/tmp/azd-postdeploy-2990871525.sh'. : exit code: 127, stdout: , stderr: /tmp/azd-postdeploy-2990871525.sh: 5: python3.11: not found
It seems to indicate python3.11 is not found and therefore has a problem running the postdeploy command. I tried logging in to the app service instance via kudu and could run the pip install command successfully. Not sure why this error is being returned?