in the idle python 3.5.1
>>>from nltk.corpus import gutenberg
>>>no error
but in the pycharm it is throwing error
ImportError: No module named 'nltk.corpus'; 'nltk' is not a package
previously same thing was working fine , but then I did invaidate caches/restrart for no good reason and then its throwing this error. I have checked project interpreter setting its 3.5.1 there also. Any help is appreciable.