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
相关推荐
漫路在线24 分钟前
JS逆向-某易云音乐下载器
开发语言·javascript·爬虫·python
成功人chen某3 小时前
配置VScodePython环境Python was not found;
开发语言·python
2301_786964363 小时前
EXCEL Python 实现绘制柱状线型组合图和树状图(包含数据透视表)
python·microsoft·excel
skd89994 小时前
小蜗牛拨号助手用户使用手册
python
「QT(C++)开发工程师」4 小时前
STM32 | FreeRTOS 递归信号量
python·stm32·嵌入式硬件
史迪仔01124 小时前
[python] Python单例模式:__new__与线程安全解析
开发语言·python·单例模式
胡耀超4 小时前
18.自动化生成知识图谱的多维度质量评估方法论
人工智能·python·自动化·知识图谱·数据科学·逻辑学·质量评估
三块钱07945 小时前
【原创】基于视觉大模型gemma-3-4b实现短视频自动识别内容并生成解说文案
开发语言·python·音视频
神码小Z5 小时前
Ubuntu快速安装Python3.11及多版本管理
python
JOYUAGV5 小时前
Word压缩解决方案
python·word