Hello @Prabodh Prasad ,
Welcome to Microsoft Q&A forum.
Perhaps you need to try to switch and select python3 to use it(cause the module may be installed in python3). Please kindly follow this document: Using Python environments in VS Code to switch and select python3.
BTW, since Visual Studio Code is different from Visual Studio, and our forum(Microsoft Q&A vs-general) is about Visual Studio IDE, you can post your issue on Stack Overflow for technical support.
Hope this helps and thanks for your understanding.
Best Regards,
Tianyu
- If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.