Skip to content Skip to sidebar Skip to footer

Python Newb Macos In Idle And Pycharm Modulenotfounderror: No Module Named 'nltk'

I am trying to import the natural language process library nltk , following instructions from nltk.org I have done a successful install (see output below) But when I run import nlt

Solution 1:

Can you try below and see if it solves it since PyCharm creates its own environment. so one way of solving it would be to do the following. In PyCharm click on:

File/Settings/Project:project-Name/Project Interpreter

Click on the plus sign (assuming you're using the latest version) and find the package you're looking for.

Post a Comment for "Python Newb Macos In Idle And Pycharm Modulenotfounderror: No Module Named 'nltk'"