安装Tensorflow解决:An HTTP error occurred when trying to retrieve this URL.
目录
问题描述
问题原因
解决方法
问题描述
在Anacoda Prompt中采用命令安装pip install tensorflow,提示:
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.
问题原因
在国内下载python相关的资料默认的镜像是国外的链接,因此下载速度比较慢。可以换成国内的镜像资源,提升速度即可。
解决方法
找到C:/用户/(你的用户名xx)/.condarc,我的目录如图:
将该文件用记事本打开,里面内容替换成即可,保存后,重新执行安装命令。
channels:- defaults
show_channel_urls: true
channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
default_channels:- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudmsys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudbioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudmenpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudpytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudsimpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
参考链接:解决:An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent......_漩涡小林的博客-CSDN博客_an error occurred when
安装Tensorflow解决:An HTTP error occurred when trying to retrieve this URL.相关推荐
- 解决 An HTTP error occurred when trying to retrieve this URL.问题
问题: An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and ...
- 【conda】解决 An HTTP error occurred when trying to retrieve this URL.
原因是conda源加入了不知名的URL,现在不能使用了(或者废弃) 重置源配置 conda config --remove-key channels
- 解决:Anaconda创建虚拟环境时出现An HTTP error occurred when trying to retrieve this URL.anaconda
解决:Anaconda创建虚拟环境时出现An HTTP error occurred when trying to retrieve this URL.anaconda #在Anaconda创建虚拟环 ...
- python conda无法安装包 报错An HTTP error occurred when trying to retrieve this URL.
今天安装jieba包的时候出现了一个BUG.首先,我的电脑装了至少两套python的环境,包括一套anaconda和一套python3.平时在pycharm中已经不使用python了,都用的conda ...
- 关于Anaconda网络问题 An HTTP error occurred when trying to retrieve this URL.
在Anaconda安装第三方库,常常因为网络问题,出现以下报错. An HTTP error occurred when trying to retrieve this URL. HTTP error ...
- An HTTP error occurred when trying to retrieve this URL.(解决方案)
在通过vscode向服务器安装pytorch时,切换了清华源之后,遇到了下面的错误: An HTTP error occurred when trying to retrieve this URL. ...
- An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a s
1.问题描述 在Anaconda下准备下载东西的时候,出现了这样的报错: Collecting package metadata (current_repodata.json): failedCond ...
- 解决:An HTTP error occurred when trying to retrieve this URL.
一.问题描述 使用Anaconda下载东西时出现的错误.分析原因是:默认使用国外的源下载,出现错误:解决方案是:使用国内的镜像源. 二.问题解决 使用清华镜像源:https://mirrors.tun ...
- An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent......
标题解决此问题,转载链接地址:解决HTTP错误的详解 注意的点: 要把vpn关掉 如果上述链接还没有解决问题,考虑换一个网络,如自己开个热点 这次定能解决问题!!!
最新文章
- Windows环境下maven 安装与环境变量配置
- Web Service 一些对外公开的网络服务接口以及http://www.webxml.com.cn/zh_cn/index.aspx
- 极其良心的设计导航网站
- [转载]Qt之模型/视图(实时更新数据)_vortex_新浪博客
- Udp、Tcp、Http Socket
- embed标签动态改变Src的值,局部刷新播放其他视频的javascript方法
- 【ADS使用:PA的大信号仿真的基本设置】
- FileZilla客户端远程连接FTP中文出现乱码
- 微信开发者工具 文件删除操作 二次确认框 设置
- Oracle11g的安装及删除
- 说说自己找互联网工作的经验
- 拼多多API分享:抓取拼多多商品详情页数据
- 常见的五个编译时异常和常见的五个运行时异常
- QUIC不可靠的数据报扩展(An Unreliable Datagram Extension to QUIC)
- 云计算资源虚拟化技术实现原理
- chapter04_聪明的表设计
- 啃完这些资料,我拿到了腾讯,爱奇艺,Kotlin从入门到进阶实战
- 酒店管理软件测试用例,酒店管理系统-测试用例.pdf
- 全球及中国AV瘘针组行业需求趋势及投资前景预测报告(新版)2022-2027
- JavaScript中大于符号与小于符号的问题