I have a python web app on Azure.
How can I install torch with requirements.txt?
With the Web SSH, it always restarts.
When you deploy your Python app, Azure App Service will create a virtual environment to and run
pip install -r requirements.txt. If you don't see this happening, make sure
SCM_DO_BUILD_DURING_DEPLOYMENT is set to
1. See https://docs.microsoft.com/en-us/azure/app-service/configure-language-python for more details. If you're seeing errors during app startup, please comment down below.
Try adding this to the requirements file. It worked for me.
14 people are following this question.