[nltk_data] Error loading reuters:

[nltk_data] Error loading reuters: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed
[nltk_data] (_ssl.c:749)>

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()

你可能感兴趣的:([nltk_data] Error loading reuters: