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
相关推荐
小田学Python9 小时前
100行Python代码,搭一个能干活的AI Agent
python·langchain·大模型·ai agent
Csvn10 小时前
🐍 Day3 : Python 容器精讲 — list、dict、set、tuple 底层实现与高级操作
后端·python
weixin-a1530030831610 小时前
python-装饰器
开发语言·python
我的xiaodoujiao10 小时前
快速学习Python基础知识详细图文教程17--类型注解和断点调试
开发语言·python·学习·测试工具
每天吃饭的羊11 小时前
Chrome DevTools MCP
python
水獭比特13 小时前
localhost 不是安全边界:给 Agent Web 入口补上四层门禁
人工智能·python
Generalzy13 小时前
Whisper + VAD + TTS:一套完整的 Python 本地语音处理流水线
python·whisper·语音识别
qpsj13 小时前
让 LLM 控制 AutoCAD/ZWCAD:COM 自动化 + MCP 封装
python·llm
赟爸13 小时前
直播切片素材杂乱不好复用,易元AI要怎么处理
大数据·人工智能·python
怪奇云呼军14 小时前
从声音特征到 CRM 回流:闪电智能 Voice Agent 沟通策略自适应系统 v1 实战
android·人工智能·python·音视频·语音识别