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
相关推荐
恋恋西风12 分钟前
CT dicom 去除床板 去除床位,检查床去除
python·vtk·dicom·去床板
Doker 多克27 分钟前
Python Django系列—入门实例
python·django
geovindu40 分钟前
python: SQLAlchemy (ORM) Simple example using mysql in Ubuntu 24.04
python·mysql·ubuntu
nuclear201143 分钟前
Python 将PPT幻灯片和形状转换为多种图片格式(JPG, PNG, BMP, SVG, TIFF)
python·ppt转图片·ppt转png·ppt转jpg·ppt转svg·ppt转tiff·ppt转bmp
没有晚不了安1 小时前
1.13作业
开发语言·python
刀客1231 小时前
python小项目编程-中级(1、图像处理)
开发语言·图像处理·python
信阳农夫1 小时前
python 3.6.8支持的Django版本是多少?
python·django·sqlite
冷琴19962 小时前
基于Python+Vue开发的反诈视频宣传管理系统源代码
开发语言·vue.js·python
带娃的IT创业者2 小时前
《Python实战进阶》专栏 No2: Flask 中间件与请求钩子的应用
python·中间件·flask
坚持就完事了2 小时前
Python之numpy
开发语言·python·numpy