Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NLTK SSL Errors loading... #930
I didn't see this directly addressed earlier, but please correct me if I missed it.
I'm receiving these NLTK related errors when running ChatBot (but no issues when I'm coding up NLTK separately on another project.
Any guidance would be wonderful. Thanks guys.
@sedemmler I don't see any issues on my machine hp pro-book 440 g3
I googled your issue found some answer, i think this could help solve your problem
However the post suggested workaround related to SSL , i am not sure how this will effect on other platforms? @gunthercox any comments?
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()