Open In App

How to Install NLTK on MacOS?

Last Updated : 16 Dec, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

NLTK is Natural Language Tool Kit. It is used to build python programming. It helps to work with human languages data. It gives a very easy user interface. It supports classification, steaming, tagging, etc.

In this article, we will look into the process of installing NLTK on MacOS.

Installing NLTK on MacOS using PIP:

Step 1: Open the terminal and execute the below command:

 pip install nltk

Wait for some time, It will install NLTK.

Step 2: Use the below command to verify the installation is successful or not. Write the following commands:

python
import nltk

Verifying NLTK installation on macos

As it is not giving any error message, you have successfully installed NLTK.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads