piskvorky / gensim-data

Data repository for pretrained NLP models and NLP corpora.
https://rare-technologies.com/new-api-for-pretrained-nlp-models-and-datasets-in-gensim/
GNU Lesser General Public License v2.1
965 stars 128 forks source link

Unable to download the model using the python3 -m gensim.downloader -i word2vec-google-news-300 #52

Closed dilipupf closed 1 year ago

dilipupf commented 1 year ago

I get this error while trying to download the model in my code as well.

I initially got an error for not having the 'information.json' in the users/gensim-data/ folder. After finding this answer https://stackoverflow.com/questions/62861346/why-cant-i-download-a-dataset-with-the-gensim-download-api i was able to resolve that issue.

However, now i get this error below regarding the certificate verify failed error:

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

Am i doing something wrong?

dilipupf commented 1 year ago

I

dilipupf commented 1 year ago

There was another part of the answer i missed that was to install certificate in python folder from the applications folder (Mac). It worked post the installation.