2021年1月26日星期二

fail to deploy my azure function to azure

I am trying to deploy my python azure function to azure from vscode. I came across with an error after the deployment has started. It threw this message after finished the installation of requirements.txt:

/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.8 -p packagedir=.python_packages/lib/site-packages  

The next message is just Deployment failed.

I have no clue about how to debug this problem. Can someone please have a look on this problem and give some suggestions about how to explore more about it? Please tell me if more information is needed.

I am using python 3.8.6.

Context UPDATE

These are some properties of my function app: enter image description here

enter image description here

My requirements.txt is simple:

azure-functions  farm-haystack  

where farm-haystack is an open source python package.

I am using Mac OSX mojave. The function was deployed by VS code azure functions extension.

https://stackoverflow.com/questions/65905130/fail-to-deploy-my-azure-function-to-azure January 27, 2021 at 12:23AM

没有评论:

发表评论