Closed samin-batra closed 3 weeks ago
Thanks for informing will check and confirm the same.
Can you try again it seems working fine.please try again if have anything please update with full code
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Investigative information
Please provide the following:
Repro steps
Provide the steps required to reproduce the problem:
Deploy to function app using the task: deploy to existing app in Azure functions extension for VSCode
Expected behavior
Provide a description of the expected behavior.
Function app should show the deployed function in azure portal.
Actual behavior
Provide a description of the actual behavior observed.
The deployed function does not show up and an error message is displayed; We were not able to load some functions in the list due to errors. Refresh the page to try again. See details
When I check the logs, it mentions that an error occurred while importing the numpy module.
Known workarounds
https://learn.microsoft.com/en-us/azure/azure-functions/recover-python-functions?tabs=vscode%2Cbash&pivots=python-mode-decorators#troubleshoot-modulenotfounderror
Contents of the requirements.txt file:
Provide the requirements.txt file to help us find out module related issues.
azure-functions pandas==2.0.3 numpy==1.22.3 pyodbc==5.1.0 SQLAlchemy==2.0.30 statsmodels==0.14.1
Related information
Provide any related information
Python version 3.8 and also 3.9. Till yesterday, it was working fine and deploying correctly. However, since then this issue has been coming. Earlier it was with the scikit-learn package that I then removed because I had a workaround for not using it. Now the issue is coming with numpy package. Any help would be greatly appreciated!