首页 > 其他分享 >Anaconda3 ProxyError: Conda cannot proceed due to an error in your proxy configuration.

Anaconda3 ProxyError: Conda cannot proceed due to an error in your proxy configuration.

时间:2023-05-13 19:37:35浏览次数:33  
标签:mirrors proceed Anaconda3 ProxyError edu tsinghua https anaconda cn

其实这里有一个悖论

我的服务器不设置代理就没办法上网,但是Anaconda又提示这个

export https_proxy="http://ABCD:XXX"
export http_proxy="http://ABCD:XXX"

ProxyError: Conda cannot proceed due to an error in your proxy configuration.

因为之前没有出现过这个问题

解决方案

把代理内容拷贝到~/.condarc里面即可

没有就自己新建一个这个文件

channels:
  - defaults
show_channel_urls: true
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
proxy_servers:
    http: ABCD:XXX
    https: ABCD:XXX

标签:mirrors,proceed,Anaconda3,ProxyError,edu,tsinghua,https,anaconda,cn
From: https://www.cnblogs.com/zxyfrank/p/17397979.html

相关文章

  • Win10(CPU)+ Anaconda3 + python3.9安装pytorch
    Win10(CPU)+Anaconda3+python3.9安装pytorch1.安装Anaconda31.1下载Anaconda3可以在官网下载Anaconda3-2022.05-Windows-x86_64.exe,这个版本对应的是python3.9。1.2安装Anaconda3此步骤比较简单,双击.exe文件,一步一步执行即可,有不确定的可以自行百度,教程比较多,但基本一致......
  • docker安装anaconda3 python环境
    1、下载dockerpullcontinuumio/anaconda3firewall-cmd--add-port=8888/tcp--permanentfirewall-cmd--reloadfirewall-cmd--list-all2、运行dockerrun-i-t-p8888:......
  • Anaconda3 安装和常用命令
    Anaconda3-2019.10-Windows-x86_64.exehttps://mirrors.bfsu.edu.cn/anaconda/archive/C:\Anaconda3>pythonPython3.7.4(default,Aug92019,18:34:13)[MSCv.1915......
  • 无法将“c:\users\XXX\anaconda3\scripts\conda.exe”项识别为 cmdlet、函数、脚
      因为C盘空间不够所以把anaconda3移到D盘了结果PowerShell报错按图索骥找到profile.ps1  把路径修改正确即可! ......
  • Python3.9+torch1.7.1+cuda11.0+cudnn8.0+Anaconda3安装
    前言想要安装pytorch,至少得先安装Anaconda、python!!!必要的不想用cpu要用gpu的还需要cuda11.0+cudnn11.0!!!一、安装python3.9二、安装Anaconda3三、安装cuda11.0+cudnn8.0四、......
  • Anaconda3安装(Win_x64)
    一、获取Anaconda3链接:https://pan.baidu.com/s/14Imqk1KBsB84Mwzebpv2BA?pwd=no2x提取码:no2x--来自百度网盘超级会员V4的分享二、安装下载好后,以管......
  • 54挂代理出现proxyError
    问题截图:解决方法1:GFW模式,设置白名单(建议使用)解决方法二:importosos.environ['NO_PROXY']='接口名称'......
  • Linux下安装Anaconda3,这个教程一定要看!
    前言大家好,我是爱写Bug的麦洛。由于工作需要,要为客户搭建Python开发环境。作为从来没有接触过Python的小白,为了完成任务,也是破费周折,请教了身边做Python的朋友,发现大家都是......
  • 【Python】爬虫笔记-requests.exceptions.ProxyError
    0x01爬虫使用HTTP/HTTPS代理时报故:proxy='127.0.0.1:9743'proxies={'http':'http://'+proxy,'https':'https://'+proxy,}response=requests.ge......
  • Anaconda3安装
    1、下载Anaconda3-2019.07-Linux-x86_64.shhttps://repo.anaconda.com/archive/2、安装包上传至/opt/soft3、赋予权限chmod+x/opt/soft/Anaconda3-2019.07-Linux-x86......