CondaHTTPError: HTTP 429 TOO MANY REQUESTS for url
安裝python 3.9時報錯:
(base) [root@hadoop103 software]# conda create --name superset python=3.9
具體報錯如下:
Collecting package metadata (current_repodata.json): failedCondaHTTPError: HTTP 429 TOO MANY REQUESTS for url
https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/linux-64/current_repodata.json
Elapsed: 00:26.347187An HTTP error occurred when trying to retrieve this URL. HTTP errors
are often intermittent, and a simple retry will get you on your way.
‘https//mirrors.ustc.edu.cn/anaconda/cloud/menpo/linux-64’
換各種鏡像源都沒有用:
最終的解決方案是:
將配置文件中的
https//mirrors.ustc.edu.cn/anaconda/cloud/menpo/linux-64
刪掉
[root@hadoop103 software]# vim ~/.condarc
刪除後的結果是:
auto_activate_base: false
show_channel_urls: true
ssl_verify: false
channels:- conda-forge- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/- defaults
再重新執行命令:
(base) [root@hadoop103 software]# conda create --name superset python=3.9