Python Azure函数:ArcGIS软件包具有Egg-Info,而不是Lib \ site-ackages中的Dist-Info

发布于 2025-02-13 23:22:03 字数 658 浏览 3 评论 0 原文

以下要求进行测试Azure耐用功能。

azure-functions
azure-functions-durable
datetime
requests==2.23.0 
arcgis==1.8.0.post1
openpyxl==3.0.3
aiohttp==3.7.3
numpy

我正在使用 说例外:ModulenotFoundError:尽管该模块在需求文件中,但没有名为“ Arcgis” 的模块。

当我在

但是,当我检查我的 venv 时,没有 dist-info 文件夹,但仅: arcgis-1.8.0.post1-py3.9.egg-info

有什么办法可以安装车轮

I am testing an Azure Durable Function with the following requirements.txt:

azure-functions
azure-functions-durable
datetime
requests==2.23.0 
arcgis==1.8.0.post1
openpyxl==3.0.3
aiohttp==3.7.3
numpy

When I debug it using VS Code, the venv is created adding all the relevant packages, but the Terminal complains saying Exception: ModuleNotFoundError: No module named 'arcgis' despite this module being in the requirements file.

When I check the Troubleshooting Guide at https://aka.ms/functions-modulenotfound, one of the possible reasons they mention is:
enter image description here

However, when I check my venv, there is no dist-info folder, but only:
arcgis-1.8.0.post1-py3.9.egg-info.

Is there a way I can install the wheel instead?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文