pip installation problem Cannot fetch index base URL

When tried to install nltk using pip, received following error:

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

Solution:Run the command: py -m pip install nltk

C:\Users>py -m pip install nltk

Downloading/unpacking django
Downloading/unpacking pytz (from django)
Installing collected packages: django, pytz
Successfully installed django pytz
Cleaning up…

C:\Users\pinnapav>py -m pip install nltk

Collecting nltk Downloading nltk-3.2.5.tar.gz (1.2MB) 100% |████████████████████████████████| 1.2MB 287kB/s Collecting six (from nltk) Downloading six-1.11.0-py2.py3-none-any.whl Installing collected packages: six, nltk Running setup.py install for nltk ... done Successfully installed nltk-3.2.5 six-1.11.0

Related Posts

Responses are currently closed, but you can trackback from your own site.

Comments are closed.

Powered by k2schools
%d bloggers like this: