我的蟒蛇不再工作了:
输入
conda install pandas
获取
Fetching package metadata ...ERROR requests.packages.urllib3.connection:_match_hostname(360): Certificate did not match expected hostname: conda.binstar.org. Certificate: {'subject': ((('commonName', 'anaconda.com'),),), 'subjectAltName': [('DNS', 'anaconda.com'), ('DNS', 'anacondacloud.com'), ('DNS', 'anacondacloud.org'), ('DNS', 'binstar.org'), ('DNS', 'wakari.io')]}
CondaHTTPError: HTTP None None for url <https://conda.binstar.org/ottogroup/osx-64/repodata.json>
Elapsed: None
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(SSLError(CertificateError("hostname 'conda.binstar.org' doesn't match either of 'anaconda.com', 'anacondacloud.com', 'anacondacloud.org', 'binstar.org', 'wakari.io'",),),)
答案 0 :(得分:2)
我遇到了同样的问题(mac os 10.12.4和conda version 4.3.22)。我执行了
CONDA_SSL_VERIFY=false conda update conda requests pyopenssl cryptography
根据Conda HTTP Error hostname doesn't match #5170的建议,它解决了问题。然后我试过的任何conda命令工作正常(即conda update conda
,conda create -n py3test python=3 anaconda
等。)