While running a Python script using NLTK I got this:
Traceback (most recent call last):
File \"cpicklesave.py\", line 56, in
pos = nltk.
You can download NLTK missing module just by
import nltk
nltk.download()
This will shows the NLTK download screen. If it shows SSL Certificate verify failed error. Then it should works by disabling SSL check with below code!
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()