[Python] ValueError when downloading gensim data set

Discussão em 'Python' iniciado por Stack, Julho 1, 2025.

  1. Stack

    Stack Membro Participativo

    I want to download the gensim glove-wiki-gigaword-100 dataset. Here's my code

    import gensim.downloader as api
    model = api.load("glove-wiki-gigaword-100")


    But I'm receiving this error

    ValueError: unable to read local cache '/Users/xxx/gensim-data/information.json' during fallback, connect to the Internet and retry


    I checked my terminal for the gensim version and got this so I think it's installed

    pip3 show gensim
    Name: gensim
    Version: 3.8.3
    Summary: Python framework for fast Vector Space Modelling
    Home-page: http://radimrehurek.com/gensim
    Author: Radim Rehurek
    Author-email: me@radimrehurek.com
    License: LGPLv2.1
    Location: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages
    Requires: smart-open, scipy, numpy, six
    Required-by:


    I can't figure this out. I turned my laptop on and off and reset the router. I dont think this issue is related to my internet despite the error?

    Continue reading...

Compartilhe esta Página