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
刪除後的結果是:文章来源:https://www.toymoban.com/news/detail-853057.html
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
再重新執行命令:文章来源地址https://www.toymoban.com/news/detail-853057.html
(base) [root@hadoop103 software]# conda create --name superset python=3.9
到了这里,关于CondaHTTPError: HTTP 429 TOO MANY REQUESTS for url的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!