Ber*_*ard 5 python pandas anaconda conda miniconda
使用 miniconda 全新安装 python 3.7.11 后,尝试安装 pandas 但失败:
(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'
Run Code Online (Sandbox Code Playgroud)
我对 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'
Run Code Online (Sandbox Code Playgroud)
感谢您的帮助!
Mik*_*laj -1
您是否尝试过使用 pip 安装程序或使用 Anaconda Prompt 进行安装?要使用 pip 安装,请在创建虚拟环境后,打开终端控制台并尝试:
source activate [name of virtual environment]
pip install pandas
Run Code Online (Sandbox Code Playgroud)