CondaHTTPError: HTTP 429 TOO MANY REQUESTS for url

CondaHTTPError: HTTP 429 TOO MANY REQUESTS for url

安裝python 3.9時報錯:

bash 复制代码
(base) [root@hadoop103 software]# conda create --name superset python=3.9

具體報錯如下:

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 429 TOO MANY REQUESTS for url
https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/linux-64/current_repodata.json

Elapsed: 00:26.347187

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.

'https//mirrors.ustc.edu.cn/anaconda/cloud/menpo/linux-64'

換各種鏡像源都沒有用:

最終的解決方案是:

將配置文件中的

https//mirrors.ustc.edu.cn/anaconda/cloud/menpo/linux-64

刪掉

bash 复制代码
[root@hadoop103 software]# vim ~/.condarc 

刪除後的結果是:

bash 复制代码
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

再重新執行命令:

bash 复制代码
(base) [root@hadoop103 software]# conda create --name superset python=3.9
相关推荐
2301_8050545621 分钟前
Python训练营打卡Day59(2025.7.3)
开发语言·python
万千思绪1 小时前
【PyCharm 2025.1.2配置debug】
ide·python·pycharm
微风粼粼2 小时前
程序员在线接单
java·jvm·后端·python·eclipse·tomcat·dubbo
云天徽上2 小时前
【PaddleOCR】OCR表格识别数据集介绍,包含PubTabNet、好未来表格识别、WTW中文场景表格等数据,持续更新中......
python·ocr·文字识别·表格识别·paddleocr·pp-ocrv5
你怎么知道我是队长3 小时前
python-input内置函数
开发语言·python
叹一曲当时只道是寻常3 小时前
Python实现优雅的目录结构打印工具
python
hbwhmama4 小时前
python高级变量XIII
python
费弗里4 小时前
Python全栈应用开发利器Dash 3.x新版本介绍(3)
python·dash
dme.5 小时前
Javascript之DOM操作
开发语言·javascript·爬虫·python·ecmascript
加油吧zkf5 小时前
AI大模型如何重塑软件开发流程?——结合目标检测的深度实践与代码示例
开发语言·图像处理·人工智能·python·yolo