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
相关推荐
小小测试开发3 分钟前
Bokeh 库入门:用 Python 绘制交互式数据可视化图表
开发语言·python·信息可视化·bokeh
数据科学作家15 分钟前
如何入门python机器学习?金融从业人员如何快速学习Python、机器学习?机器学习、数据科学如何进阶成为大神?
大数据·开发语言·人工智能·python·机器学习·数据分析·统计分析
孤客网络科技工作室19 分钟前
Python - 100天从新手到大师:第五十八天 Python中的并发编程(1-3)
开发语言·python
计算衎43 分钟前
Jenkins上实现CI集成软件信息Teams群通知案例实现。
python·jenkins·1024程序员节·microsoft azure·teams消息群通知·微软 graph api
浆果02071 小时前
【图像超分】论文复现:轻量化超分 | RLFN的Pytorch源码复现,跑通源码,整合到EDSR-PyTorch中进行训练、测试
人工智能·python·深度学习·超分辨率重建·1024程序员节
加油吧zkf1 小时前
深度可分离卷积
人工智能·python·深度学习·神经网络·计算机视觉
DKunYu1 小时前
2.2softmax回归
pytorch·python·深度学习·1024程序员节
2401_841495642 小时前
【机器学习】k近邻法
人工智能·python·机器学习·分类··knn·k近邻算法
开心-开心急了2 小时前
Kivy 乒乓游戏教程 基于Minconda或Anconda 运行
python·conda·1024程序员节·kivy