We apologies for any inconvenience you experienced while trying to set up your Python App on Azure.
Please follow the below tutorial based on how you plan on deploying your app:
Deploy Python apps to Azure App Service on Linux from Visual Studio Code
or
Deploy a Python app using Azure App Service on Linux (using Flask or Django frameworks)
Hope that helps. Letus know if you have further questions
-Grace