Reputation: 53
This is the error when I try to restart the download again some times it work but since the new win7 I could not download any data from nltk
nltk.download()
showing info http://nltk.github.com/nltk_data/
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\lib\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 495, in callit
func(*args)
File "C:\Python27\lib\site-packages\nltk\downloader.py", line 1893, in_monitor_message_queue
self._select(msg.package.id)
AttributeError: 'str' object has no attribute 'id'
Upvotes: 4
Views: 4044
Reputation: 1
I was facing the similar issue, reaching raw.githubusercontent.com
using jio
.
My issue was a DNS issue.
Try again by changing your Network Provider or Change your hotspot connection to some other network.
Upvotes: 0
Reputation: 1468
I was facing the same issue. The issue in my case was that when the NLTK downloader started it had the server index as - http://nltk.github.com/nltk_data/
This needs to be changed to - http://nltk.org/nltk_data/
You can change this by going into the NLTK Downloader window and the File->Change Server Index
.
Upvotes: 2