NLTK not getting imported in VS Code

I have just started learning NLP and for that purpose I installed nltk package using pip install nltk in the cmd terminal of VS Code. After I installed it, I tried importing it in the command line itself and I was successful but in the main window where we write the code, I tried from nltk.tokenize import sent_tokenize but it showed the following error:

enter image description here

then I tried simply import nltk but that too didn't work, and it showed the following error:

enter image description here

I also tried restarting VS Code, but it was all in vain. How can I resolve this issue?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum