I have tried importing nltk module using notebook (Juypter) but its keep showing the error.
ImportError Traceback (most recent call last)
<ipython-input-1-b06499430ee0> in <module>()
----> 1 import nltk
ImportError: No module named nltk.
I have looked at the various solutions. I am able to import the module with the terminal but not in the notebook.
import sys; print(sys.path)
produce in either? Orsys.executable
for that matter. – Angelitaangell/Users/farihanaz/anaconda/envs/py27/lib/python2.7/site-packages/nltk
exists. If not, find out where it is (ask the successful python fornltk.__file__
). – Misleading