在安装完Anaconda,更新包时
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." ))'))
需要安装 openSSL
下载OpenSSL 的 Windows 安装包 IT虾米网
Win64 OpenSSL v1.1.1b
安装之后就可以更新了
conda upgrade —all
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/20497.html