Reputation: 21
I’m currently working on my first chatbot and I need nltk for this bot to install. So I opened my terminal on my Mac and type pip install nltk
and it successfully installs.
So I opened VisualStudioCode and I type import nltk
but it replies: "Unable to import 'nltk‘ "
Why is this?
Thanks a lot
Upvotes: 0
Views: 6385
Reputation: 203
Did you select a python interpreter? If this is not working you could try to install it from the command line in vscode
Upvotes: 0