在安裝完Anaconda,更新包時html
C:\Users\Administrator>conda upgrade --all WARNING: The conda.compat module is deprecated and will be removed in a future r elease. Collecting package metadata: failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pk gs/free/win-64/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. If your current network has https://www.anaconda.com blocked, please file a support request with your network engineering team. SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443 ): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available." ))'))
須要安裝 openSSLweb
下載OpenSSL 的 Windows 安裝包 https://slproweb.com/products/Win32OpenSSL.htmljson
Win64 OpenSSL v1.1.1bthis
安裝以後就能夠更新了url
conda upgrade --allspa