import nltk
nltk.download('punkt')
showing error:
[nltk_data] Error loading punkt: <urlopen error [WinError 10060] A
[nltk_data] connection attempt failed because the connected party
[nltk_data] did not properly respond after a period of time, or
[nltk_data] established connection failed because connected host
[nltk_data] has failed to respond>
I have pip installed nltk
and tried downloading the full nltk
version for my learning.
# I used this key to download full version
import nltk
nltk.download()
showing the error: WinError 10060
Changing the network to another wifi connection worked for me. The previous connection had some sort of blockers for me. Hope this helps.