在用miniconda干净地安装python 3.7.11之后,试图安装大熊猫,但失败了:
(base) C:\Users\jisib>conda install pandas
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
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.
'https://repo.anaconda.com/pkgs/main/win-64'
我对python非常陌生,很可能是一个非常基本的错误:)。anaconda.com没有被阻塞(https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json也没有被阻塞)
尝试先创建一个环境,但也失败了:
(base) C:\Users\jisib>conda create --name myenv2022_03
Collecting package metadata (current_repodata.json): done
Solving environment: done
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
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.
'https://repo.anaconda.com/pkgs/main/win-64'
谢谢你的帮助!
发布于 2022-03-22 14:12:15
错误来自新的SSL策略。
忽略SSL验证并尝试安装熊猫
conda config --set ssl_verify false
或Anaconda提示
set SSL_NO_VERIFY=1
发布于 2022-03-22 20:56:52
复制一下这些:-
libcrypto-1_1-x64. libssl-1_1-x64.dll
从C:\Anaconda3 3\Library\bin到C:\Anaconda3 3\DLL。
发布于 2022-03-14 10:54:26
您是否尝试过使用pip安装程序,或者使用Anaconda提示符进行安装?若要使用pip安装,请在创建虚拟环境后,打开终端控制台并尝试:
source activate [name of virtual environment]
pip install pandas
https://stackoverflow.com/questions/71466271
复制相似问题