I am looking to set up a simple Django application on Azure App Service (Linux OS) by running an Azure Devops Build and Release pipeline. The application builds and creates a release without a problem.
However when the application has been released it runs into runtime errors.
2019-10-15T09:48:16.161816610Z ModuleNotFoundError: No module named 'django'
I run pip3 install -r requirements.txt as part of the bash post deployment script, and requirements.txt contains Django but it claims the requirement is already satisfied. Or if I bash into the App Service and run the same command it get the same message with the requirements already being satisfied.
Therefore my question is, why am I receiving a ModuleNotFoundError?