Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install nltk using pip

Tags:

python

nltk

Hi I am unable to install nltk. I have already install Python.

C:\Users>pip install nltk

Downloading/unpacking nltk Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement nltk Cleaning up... No distributions at all found for nltk Storing debug log for failure in C:\Users\pinnapav\pip\pip.log

like image 813
prvreddy Avatar asked Oct 24 '17 13:10

prvreddy


People also ask

What is pip install NLTK?

The Natural Language Toolkit (NLTK) is a Python package for natural language processing. NLTK requires Python 3.7, 3.8, 3.9 or 3.10.

Does Anaconda install NLTK?

NLTK will be downloaded and installed in your Anaconda package.

How do I fix No module named NLTK?

The Python "ModuleNotFoundError: No module named 'nltk'" occurs when we forget to install the nltk module before importing it or install it in an incorrect environment. To solve the error, install the module by running the pip install nltk command.


1 Answers

Try to use the command py -m pip install --upgrade nltk! This worked on my computer, with the same, basic Python-Installation.

Now you can mark as Answered ^-^

like image 156
Ian Rehwinkel Avatar answered Sep 20 '22 18:09

Ian Rehwinkel