C1_W2 Assignment issue with nltk.download

Hello,

I get the following error from the notebook when I run the following:
nltk.download(‘twitter_samples’)
nltk.download(‘stopwords’)

[nltk_data] Error loading twitter_samples: <urlopen error [SSL:
[nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data] unable to get local issuer certificate (_ssl.c:1076)>
[nltk_data] Error loading stopwords: <urlopen error [SSL:
[nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data] unable to get local issuer certificate (_ssl.c:1076)>

Please advise! Thank you!

1 Like

I just tried this and it worked for me. Are you running this on the course website or did you download it and try to run it locally?

It could also be an IT problem on your side, e.g. if you have a firewall or proxy that is preventing some web accesses. You might want to try using a VPN.

2 Likes

Yes, I am running this on the course website. And yes, I just tried again and this time it worked. Thank you for looking into it.

2 Likes