Failed to download NLTK data: HTTP ERROR 405 / 403
See original GitHub issue>>> nltk.download("all")
[nltk_data] Error loading all: HTTP Error 405: Not allowed.
>>> nltk.version_info
sys.version_info(major=3, minor=5, micro=2, releaselevel='final', serial=0)
Also, I tried to visit https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/cmudict.zip. Got the same HTTP 405 ERROR.
Find the same problem on stackoverflow: https://stackoverflow.com/questions/45318066/getting-405-while-trying-to-download-nltk-dta
Any comments would be appreciated.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:12
- Comments:47 (22 by maintainers)
Top Results From Across the Web
HTTP Error 403 Forbidden - when downloading nltk data
I am facing some problem for accessing nltk data . I have tried nltk.download() . The gui page has come with HTTP Error...
Read more >Error in Downloading NLTK Packages : Forums
Are you sure it's 405 and not 403? I believe some nltk data is not downloaded from .nltk.org, and so our proxy doesn't...
Read more >nltk.download() error - Google Groups
nltk.download() after installing nltk, but I am having the following error message: ... 402 req = meth(req) 403 --> 404 response = self._open(req,...
Read more >HTTP Error 403 Forbidden - when downloading nltk data
I am facing some problem for accessing nltk data . I have tried nltk.download() . The gui page has come with HTTP Error...
Read more >No Route To Host' Error In Installing 'Nltk Data' - ADocLib
I want to use nltk for my project but it is not downloading that and giving me ... Failed to download NLTK data:...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@plaihonen you should be able to use this alternative index by doing something like
python -m nltk.downloader -u https://pastebin.com/raw/D3TBY4Mj punktIt seems like the Github is down/blocking access to the raw content on the repo.
Meanwhile the temporary solution is something like this:
Currently downloading the
gh-pages.zipand replacing thenltk_datadirectory is the working solution for now.Before we find on another channel to distribute
nltk_data, please use the above solution.~Strangely, it only seems to affect the
nltkuser account. It works fine on the fork: https://raw.githubusercontent.com/alvations/nltk_data/gh-pages/index.xml~~Doing this would work too:~