Net Core 3.1:如何在 Azure 上使用 Process 执行 python.exe?
NetCore 3.1: How to execute python.exe using Process on Azure?
我有一个 NetCore3.1 服务器应用程序。在我的本地设置中,我可以使用 Process to execute python 来处理我在 venv 中安装的一些数据帧。
在 Azure 上,我可以使用站点扩展来安装 python 的本地副本和我需要的所有库。 (位于 D:/home/python364x86/)。
现在,在我发布的 Azure 应用程序上,我希望我的进程像本地设置一样执行 python。我已经配置了正确的路径,但出现此错误:“解析值时遇到意外字符:D.Path '',第 0 行,位置 0。”
有人知道为什么会失败吗?非常感谢您的帮助。
请注意,python扩展在网站扩展中,所以在代码中应该无法访问python扩展。
我有一个 NetCore3.1 服务器应用程序。在我的本地设置中,我可以使用 Process to execute python 来处理我在 venv 中安装的一些数据帧。
在 Azure 上,我可以使用站点扩展来安装 python 的本地副本和我需要的所有库。 (位于 D:/home/python364x86/)。
现在,在我发布的 Azure 应用程序上,我希望我的进程像本地设置一样执行 python。我已经配置了正确的路径,但出现此错误:“解析值时遇到意外字符:D.Path '',第 0 行,位置 0。”
有人知道为什么会失败吗?非常感谢您的帮助。
请注意,python扩展在网站扩展中,所以在代码中应该无法访问python扩展。