【发布时间】:2018-08-05 15:26:48
【问题描述】:
我正在尝试在 Anaconda 的 tensorflow 环境中安装 NLTK。我为我的 Windows 7 电脑使用了命令“conda install nltk”。它给出了以下错误:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url
<https://repo.continuum.io/pkgs/r/win-32/repodata.json.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.continuum.io\', port=443): Max retries exceeded with url: /pkgs/r/win-32/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),)
我的系统中有一个额外的证书。所以我将证书哈希添加到 anaconda/ssl 的 cert.pem 文件中。它适用于Linux机器,但Windows机器仍然抛出错误。我该怎么做才能解决这个问题?
【问题讨论】:
标签: python tensorflow machine-learning anaconda nltk