Linux Python Azure Function APP - pyodbc module not found despite being in requirements.txt and other modules working fine(Linux Python Azure函数app-pyodbc模块未找到,尽管在Requirements.txt和其他模块工作正常)
问题描述
我正在使用Linux consumption
计划。
我得到以下错误;
Exception: ModuleNotFoundError: No module named 'pyodbc'
我已在requirements.txt
文件中添加了pyodbc
,此文件中的其他模块(如azure-storage)工作正常。
是否有人看到此问题或可以确认这是已知错误?我看不到任何手动安装此程序的方法。
推荐答案
我认为这是Python worker的错误。我已经向团队提出了一个问题,因为我也有这个问题。https://github.com/Azure/azure-functions-python-worker/issues/249
这篇关于Linux Python Azure函数app-pyodbc模块未找到,尽管在Requirements.txt和其他模块工作正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!