In the Kudu Powershell console, use “python -V” to check Python version. The transform logs are all recorded in D:\home\LogFiles\Transform, you can check the timestamp and file name to get the latest log.Ĭheck your D:\local\Config\nfig file, should see Python path being added as the “PATH” environment variables. 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
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |