I'm in windowns 10. I was developing my python azure function in vscode and test it in local host. Everything was fine until recently. I tried to start my azure functions, but I got error messages like below:
Exception has occurred: ModuleNotFoundError
No module named 'grpc_tools'
File "c:\users\myusername\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7\windows\x64\grpc\__init__.py", line 2034, in <module>
import grpc_tools
File "c:\users\myusername\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7\windows\x64\azure_functions_worker\dispatcher.py", line 16, in <module>
import grpc
File "c:\users\myusername\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7\windows\x64\azure_functions_worker\main.py", line 7, in <module>
from . import dispatcher
File "c:\users\myusername\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.7\windows\x64\worker.py", line 59, in <module>
from azure_functions_worker import main
I have not changed anything since last time I tested my azure function. Have no idea why I got the error messsage. Does anyone know what the error message mean? what cold be the solution to the issue?
Something wrong with the azure-functions-core-tools? The problem is I have not changed anything at all. But now it stopped working for no reason. Really appreciate it if anyone can help. Thanks.