how to install nltk using pip code example Example 1: install nltk in python pip install nltk Example 2: nltk pip pip install nltk