python - Linux Python Azure Function APP - 尽管在 requirements.txt 和其他模块工作正常,但未找到 pyodbc 模块
问题描述
我正在使用一个Linux consumption
计划。
我收到以下错误;
Exception: ModuleNotFoundError: No module named 'pyodbc'
我已在文件中添加pyodbc
,该requirements.txt
文件中的其他模块(例如 azure-storage)工作正常。
有没有人看到这个问题或可以确认这是一个已知的错误?我看不到任何手动安装它的方法。
解决方案
我相信这是 Python 工作者的一个错误。我已经向团队提出了一个问题,因为我也遇到了这个问题。https://github.com/Azure/azure-functions-python-worker/issues/249
推荐阅读
- wordpress - 删除特定页面的 Jetpack 的 Open Graph 元标记
- c# - 在 DataGridView 中使用嵌套列表作为数据源的列表
- sql - Column' 在选择列表中无效,因为它不包含在聚合函数或 GROUP BY 子句中
- erlang - elixir/erlang 中的 des-ecb 加密
- visual-studio-code - 在 Visual stuido 行中保存 html 文件时搞砸了
- javascript - 没有 async/await 就不会保存缓存中的更改
- hashcode - 为什么两个具有相似标签的 NodeList 不相等?
- blazor - 更新 Visual Studio 2019 预览后出错
- android - 即使在 postValue() Kotlin 之后 MutableLiveData ArrayList 也是空的
- scala - 在 VScode 中设置 Scala(metals) 时出现问题