Skip to content

Instantly share code, notes, and snippets.

@xprilion
Created May 14, 2020 21:12
Show Gist options
  • Save xprilion/d94f466d778491ddebef99be6825263b to your computer and use it in GitHub Desktop.
Save xprilion/d94f466d778491ddebef99be6825263b to your computer and use it in GitHub Desktop.
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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment