Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python certificate verify failed unable to get local issuer certificate nltk

import nltk
import ssl

try:
    _create_unverified_https_context = ssl._create_unverified_context
except AttributeError:
    pass
else:
    ssl._create_default_https_context = _create_unverified_https_context

nltk.download()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #certificate #verify #failed #unable #local #issuer #certificate #nltk
ADD COMMENT
Topic
Name
8+1 =