Azure function deployment with requirement.txt

Bakar, Cem 281 Reputation points
2022-06-27T13:25:34.24+00:00

Hello there,

The deployment process indicates a successful process (Deployment successful. Remote build succeeded!).
However, it is not accesible, not functioning!

I figured, if start from the template, I could findout wha't going on. So I create a new function using func init and func new - Created a python function with http trigger.

When I publish the template, all is well, it works.
The only thing I change is the requirements.txt (see below) - the entire thing breaks, yet it says -Deployment successful. Remote build succeeded.
I get variety of errors many of them are just unknown, application is unreachable, etc...

The content of requirements.txt.
azure-functions
sqlalchemy
pandas
flake8
jupyter
jupyterthemes
jupytext
kaleido
lifetimes
openpyxl
plotly
pycaret
pyarrow
pyodbc
python-dateutil
python-dotenv
statsmodels
azure-storage-blob
scikit-learn
numpy
scipy
joblib
threadpoolctl

Yet enough, again, it works locally with func start

Any ideas?
Thanks in advance
Cheers,

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,419 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.