To install nltk library on ubuntu system, we can use linux command:
pip install --user -U nltk
Then you will look:
After installing nltk, we should test nltk is installed correctly or not.
Test nltk installation
import nltk
If there is no error message, nltk is intalled successfully.