![]() ![]() Every time you Restart the web app, the platform will check your D:\home\sites\applicationhost.xdt file, use it to transfer the D:\local\Config\nfig. Sample applicationhost.xdt file contents: Create an applicationhost.xdt file in D:\home\site folder.Step 3: Add the custom Python binary into the PATH environment variable You can see the new “Python38” folder being generated. Go to your web app Kudu site Under D:\home\, drag your Python38.zip file to the Kudu console.Step 2: Upload your Python to Windows App Service Inside the zip file, it should contains all the following contents Run the python-3.8.8-amd64.exe in my local windows machine:Ĭompress the whole Python388 folder to Python38.zip Step 1: Install preferred version of Python on your local machine If your application can run on the following version of Python, you can use platform provided Python extensions, rather than deploy your own version of Python.Microsoft has deprecated the Python extensions for App Service on Windows as described in this article in favor of a direct deployment to App Service on Linux.The article is written to share how to deploy and configure your custom version of Python in Windows App Service.īefore you continue reading the detailed steps of how to use custom version of Python, please notice: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |