Module Not Found Error while executing the Azure Functions VS code or Pycharm.

Karthikeyan Rajendran 20 Reputation points
2024-05-04T09:19:05.8666667+00:00

I have created an azure function to consume data from Azure Event Hub. While trying trying to test function in VC code or Pycharm I am getting error.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,678 questions
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 18,556 Reputation points
    2024-05-06T05:18:38.23+00:00

    @Karthikeyan Rajendran Thanks for reaching out. The above mentioned error occurs when the specified module azure.functions in not installed. You need to install the module and then import it. You can use below command in VS code to install it.

     pip install azure.functions
    
    
    

    For more information, you can refer this document.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful