python 3.9部署失败的Azure应用程序服务失败
我们正在尝试将相当简单的烧瓶应用程序部署到Azure应用程序服务。部署(使用本地git)失败了以下输出:
remote: Python Version: /tmp/oryx/platforms/python/3.9.12/bin/python3.9
remote: Creating directory for command manifest file if it doesnot exist
remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/oryx/platforms/python/3.9.12/lib/libpython3.9.so.1.0)
remote: Removing existing manifest file
remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /tmp/oryx/platforms/python/3.9.12/lib/libpython3.9.so.1.0)
remote: Python Virtual Environment: antenv
remote: Creating virtual environment...
remote: Deployment Failed.
那里的任何人都知道为什么会失败?它应该是如此简单.... :( 这是应用程序服务,而不是码头容器,而不是VM ..
问候, 约翰
We are trying to deploy a rather simple flask app to azure app service. The deployment (using local git) fails with the following output:
remote: Python Version: /tmp/oryx/platforms/python/3.9.12/bin/python3.9
remote: Creating directory for command manifest file if it doesnot exist
remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/oryx/platforms/python/3.9.12/lib/libpython3.9.so.1.0)
remote: Removing existing manifest file
remote: /tmp/oryx/platforms/python/3.9.12/bin/python3.9: /lib/x86_64-linux-gnu/libpthread.so.0: version `GLIBC_2.30' not found (required by /tmp/oryx/platforms/python/3.9.12/lib/libpython3.9.so.1.0)
remote: Python Virtual Environment: antenv
remote: Creating virtual environment...
remote: Deployment Failed.
Anyone there that has an idea why this fails? It should be so simple.... :(
It is an app service, not a docker container, not a vm..
Greets,
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
今天早上我遇到了同样的错误,并设法通过将应用程序的 python 版本从 3.9 更改为 3.8 来修复它。
我不太确定为什么这是一个问题,因为之前我已将应用程序部署在 python3.9 上。
为了更改您的应用程序 python 版本,您需要
希望这会有所帮助!
I was getting the same error this morning and managed to fix it by changing the application's python version from 3.9 to 3.8.
I'm not quite sure why this is an issue now as previously I had the application deployed on python3.9.
In order to change your applications python version you need to
Hope this helps!