【问题标题】:Azure function in python 3.8 in Linux failing when invoking Azure ML调用 Azure ML 时 Linux 中 python 3.8 中的 Azure 函数失败
【发布时间】:2022-12-15 20:12:34
【问题描述】:

我正在研究用 Python 3.8 编写的 Azure 函数。 Azure in Python 中的 Azure 函数部署在 Linux 中。 Azure 函数正在调用 Azure ML 管道。调用管道时,我看到以下异常:

异常:NotImplementedError:Linux 发行版 debian 11. 没有自动支持。 如果安装了所需的依赖项,.NET Core 2.1 仍然可以通过 dotnetcore2 使用。 访问https://aka.ms/dotnet-install-linux获取特定于 Linux 发行版的 .NET Core 安装说明。 按照您的发行版特定说明安装 dotnet-runtime-* 并将 * 替换为 2.1

我尝试通过 requirements.txt 文件安装 dotnetcore2 运行时,但仍然出现错误。任何帮助表示赞赏。

【问题讨论】:

    标签: python linux azure function azure-machine-learning-service


    【解决方案1】:

    我正在研究用 Python 3.8 编写的 Azure 函数。 Azure in Python 中的 Azure 函数部署在 Linux 中。


    基于Microsoft Documentation for Linux:-

    不支持 dot net core 2 版本。请尝试安装 3.12 或更高版本以使其工作。

    我还没有在我的环境中测试过。

    有关更多信息,请参阅以下链接:-

    【讨论】:

      【解决方案2】:

      我遇到了同样的问题 - 这方面有任何更新吗?

      【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-03-09
      • 1970-01-01
      • 2020-10-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多