Condahttperror - Ssl Error While Installing Nltk
I am trying to install NLTK in my tensorflow environment of Anaconda. I have used the command 'conda install nltk' for my windows 7 pc. It gives the following error: CondaHTTPErro
Solution 1:
You can still make use of ssl by exporting the CA Certificate from a browser on the windows machine.
http://docs.bvstools.com/home/ssl-documentation/exporting-certificate-authorities-cas-from-a-website
Save the certificate to a folder that you can access, and then simply set the ssl_verify value in your .condarc file to the location of the cert.
ssl_verify: C:\\conda_config\\certificates\\ca_cert.cer
This will allow you to benefit from ssl protection quite easily.
Solution 2:
I have found the solution. I have modified the .condarc file and set the ssl_verify attribute False. It looks like this:
channels:-defaultsssl_verify:False
Now I can add those packaged without any problem.
An alternate way is to modify the configuration file from command line:
conda config--set ssl_verify False
This will edit the file for you, wherever it might be located.
Post a Comment for "Condahttperror - Ssl Error While Installing Nltk"