Windows功能应用程序不支持Python项目。部署到Linux功能应用程序

发布于 2025-02-11 21:04:15 字数 285 浏览 0 评论 0原文

我试图从VS代码Python部署我的第一个Azure函数。 Windows 10。

尽管其他一切都还可以,但VS代码说,Windows OS不可能做到这一点。

绝对没有办法通过Windows做到这一点?

I have tried to deploy my first Azure Function from VS Code, Python. Windows 10.

Although everything else is okay, VS Code says that it is impossible to do it from Windows OS.

Is there absolutely no way of doing that via Windows?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

偷得浮生 2025-02-18 21:04:15

正确的方法是在Windows OS环境中的VS代码上创建功能应用程序,并将其发布到Azure中的Linux Function应用程序中。

截至目前,Windows Azure函数应用程序不支持Python Azure函数。

请参阅支持操作系统/runtime Azure Python的功能以获取更多信息。

按照此 msft参考

尽管您可以在Windows上本地开发基于Python的功能,但是Python功能仅在Linux上运行时才能在Azure中支持。

The right way is Creating the Function App on VS Code in the Windows OS environment and publishing it to Linux Function App in Azure.

As of now, Python Azure Functions are not supported in Windows Azure Function App.

Refer the supporting operating System/Runtime of Azure Python Functions for more information.

As per this MSFT reference,

Although you can develop your Python-based functions locally on Windows, Python functions are supported in Azure only when they're running on Linux.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文