mac安装nltk报错[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)

安装nltk数据集时出现[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
在终端输入

/Applications/Python\ 3.6/Install\ Certificates.command

就可以解决了
借鉴:https://stackoverflow.com/questions/41691327/ssl-sslerror-ssl-certificate-verify-failed-certificate-verify-failed-ssl-c/41692664?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

你可能感兴趣的:(mac安装nltk报错[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777))