Home > Enterprise >  How to add Python package to Azure Function?
How to add Python package to Azure Function?

Time:01-24

I am new to Azure, how do I get to install a Python package for an App Function? I followed the steps to add the required package into the requirement.txt file in the wwwroot folder. However this does not work. I also tried installing the package directly in the code (init.py )but that doesn't work wither.

Also, I cannot access the Kudu console.

How do install the required python packages I need for my code?

CodePudding user response:

requirements.txt does work for me (see my project structure). Please note it is not in any wwwroot folder. Directory structure Perhaps this link might be of use to you as you say that you are new to Azure. Where did you find the 'steps' you had to follow? What tutorial did you use?

Hopefully this helps. Kind regards

  • Related