Linux上的Azure App Service中的Python Flask Web应用 [英] Python Flask web app in Azure App Service on Linux

查看:65
本文介绍了Linux上的Azure App Service中的Python Flask Web应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< p>您好,</p>< p>我以前可以追踪< a href =" https://docs.microsoft.com/zh-CN/azure/app -service/containers/quickstart-python"这些说明/a& nbsp;并创建基于python 3.4的Web应用程序 很容易我几天前再次尝试过,虽然确实创建了Web应用程序,但是发布python flask内容时出现问题.在azure示例存储库中下载python-docs-hello-world的git文件后,软件包"Jinja2" 版本2.10.1(或更低版本)未安装在Web应用程序上.它引发语法错误.我尝试使用Jinja2版本,但每次都会出现相同的错误,因此我无法手动进行安装jinja2 & nbsp;</p>< p>您能帮我解决这个问题吗?</p>

<p>Hi Team,</p><p>I have previously been able to follow <a href="https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-python">these directions</a>&nbsp;and create a python 3.4 based web application pretty easily. I tried again a few days ago and while the web application does get created, there is a problem publishing python flask content. After downloading the git file for python-docs-hello-world in the azure samples repository, the package 'Jinja2' version 2.10.1 (or previous versions) does not get installed on the web app. It throws in a syntax error. I have tried playing around with the version of Jinja2 but the same error comes everytime and there is no way for me to manually go an install jinja2 in a way that the error does not come.&nbsp;</p><p>Can you please help in how I can get around this problem?</p>

推荐答案

muditsahni,能否请您使用文档底部的链接提供有关Azure Doc的反馈.这样,我们可以跟踪反馈,并在必要时将其分配给文档作者.

muditsahni, can you please provide the feedback on the Azure Doc using the link at the bottom of the doc. That way we can track the feedback and assign it to the doc author if necessary.


这篇关于Linux上的Azure App Service中的Python Flask Web应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆