NLTK download SSL: Certificate verify failed

后端 未结 12 2056
面向向阳花
面向向阳花 2020-12-08 00:38

I get the following error when trying to install Punkt for nltk:

nltk.download(\'punkt\')    
 [nltk_data] Error loading Punkt: 

        
12条回答
  •  醉酒成梦
    2020-12-08 00:52

    You just need to Install the certificate doing this simple step

    In the python application folder double-click on the file 'Certificates.command'

    this will make a prompt window show in your screen and basically will automatically install the certificate for you, close this window and try again.

提交回复
热议问题