4

I tried to update my nltk data with nltk.download() but I got HTTP Error 401: Authorization Required.

When I traced the url in question, I found it in downloader.py

DEFAULT_URL = 'http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml'

I then copied that URL and ran it in my browser to find out that it's asking me for a username and password.

Does anyone know how to solve this issue?

iChux
  • 2,266
  • 22
  • 37

1 Answers1

14

NLTK have moved from their googlecode site.

As noted in this question, nltk's new data server is located at http://nltk.github.com/nltk_data/. Just update the URL to the new location, and it should hopefully work.

Community
  • 1
  • 1
user2979044
  • 306
  • 4
  • 14