Condahttperror:http CONNECTION FAILED for URL

Source: Internet
Author: User

Problem: Conda cannot install the update, the error is as follows:
Reference Links: Conda Httperror http none none for URL None Anaconda update failed

Conda create-n tensorflow python=3.5 fetching package

...
.. Condahttperror:http CONNECTION FAILED for URL 

Workaround:

#首先先添加清华的镜像源 Conda config--add channels Https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/conda config--add Channels Https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/conda Config--add channels https:// Mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config--set show_channel_urls yes #如果无法解决, Delete some of the contents of the channels configuration file #具体操作如下: #1, quickly create a backup of channels profile (for insurance) CP ~/.condarc{,.bak} #查看配置文件的内容 cat ~/.condarc.bak channels :-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/-Https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud /conda-forge/-https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/-https:// nanomirrors.tuna.tsinghua.edu.cn/anaconda/cloud-defaults-https://nanomirrors.tuna.tsinghua.edu.cn/anaconda/ Cloud/bioconda-https://nanomirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/conda-bioconda-r-Conda-for GE show_channel_urls:true #2, remove parts #修改后配置文件的内容如下: Vim ~/.condarc Channels:-Https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/-https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/-https://
 Mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/show_channel_urls:true

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.