Can't import nltk module in Juypter notebook?
23,688
Open a command prompt and write:
pip install nltk
This will install the natural language toolkit, after the installation is complete, open Jupyter Notebook and type:
import nltk
nltk.download()
It will take some time and after some time for the auto-configuration of the Jupyter Notebook. Later, you would be able to use is without any issues. Let me know, if you still face any problem.
Author by
Learner11
Updated on August 12, 2020Comments
-
Learner11 over 3 years
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.