[nltk_data] Error loading wordnet_ic: HTTP Error 404: Not Found

Error loading XXXX: http Error 404: not found
XXXX can be WordNet or nltk_ Any package in data

Solution:

    1. 1. local download

    Find the package you need → copy the corresponding address → download → unzip to “your nltk_data path \nltk_data\corpora”
    For example: “wordnet_ic” “https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/ wordnet_ic.zip”

    <package id="wordnet_ic" 
    name="WordNet-InfoContent" 
    version="3.0" 
    webpage="http://wn-similarity.sourceforge.net" 
    unzip="1" 
    unzipped_size="34220359" 
    size="12056682" 
    checksum="25f0185b31693fa11ea898e4feda528c" 
    subdir="corpora" 
    url="https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/wordnet_ic.zip" />
    

    2. Unzip directly
    when we install nltk, XXX.Zip will be included in “your nltk_data path\nltk_data\corpora”. We can first search to see if the package you need exists in the corpora directory. If so, just unzip it directly. Easy.

Read More: