@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.