

#Create azure function in visual studio code python install
Hence the preview status I guess ) Setting up your IDEĭownload and install Visual Studio Code. Everything works on my machine, but this definately isn’t production ready yet. What you would find if you would read this to the end, is that I ended up with a terrible exception when running from Azure. All these issues are being worked on though! TL DR Last, not all bindings that are available for C# are available for Python yet, so no cool Service Bus integration at this moment. Support for a truely serverless deployment via the Consumption Plan isn’t there as well yet, for now you’re stuck with an App Service Plan. Building, testing, debugging and publishing is still done with the CLI. Here is what I did and what my experience and result was like.Īzure Functions in Python support in Visual Studio Code is still very basic. Those led me to believe Python on Azure Functions is using Windows as OS, uses a very old Python version and is very slow.Įven Microsoft’s own Azure Functions Supported Languages is stating Python isn’t supported on runtime 2.x.įinally, I went to the Azure Functions Python Worker GitHub page and read something a little more inspiring: Python 3.6, Linux and the 2.x runtime :-) I decided to give it a try on my Windows 10 machine with Visual Studio Code. Googling led me to a couple of blog posts about Python on Azure Functions. Update: Read about my second attempt here He did have to change something in the requirements.txt as well, same as I mentioned here. Update: Others, like Jeff Hollan, have been able to get am Azure Function working with Python.
