当前位置: 首页 > news >正文

安装 tensorflow==1.15.2 遇见的问题

 一、直接安装

命令:pip install tensorflow==1.15.2

二、换 阿里云 镜像源

命令:pip install -i http://mirrors.aliyun.com/pypi/simple tensorflow==1.15.2

三、换 豆瓣 镜像源

命令:pip install http://pypi.douban.com/simple tensorflow==1.15.2
错误:

  ERROR: Cannot unpack file C:\Users\Administrator\AppData\Local\Temp\pip-unpack-4y1t7wu2\simple (downloaded from C:\Users\Administrator\AppData\Local\Temp\pip-req-build-ks2gek_b, content-type: text/html; charset=utf-8); cannot detect archive forma
tERROR: Cannot determine archive format of C:\Users\Administrator\AppData\Local\Temp\pip-req-build-ks2gek_b

 

四、换 中国科学技术大学 镜像源

命令:pip install http://pypi.mirrors.ustc.edu.cn/simple/ tensorflow==1.15.2

  ERROR: Cannot unpack file C:\Users\Administrator\AppData\Local\Temp\pip-unpack-s6qfhuow\simple.htm (downloaded from C:\Users\Administrator\AppData\Local\Temp\pip-req-build-o8_q5nl6, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\Administrator\AppData\Local\Temp\pip-req-build-o8_q5nl6

 解决:使用如下命令即可解决

pip install tensorflow==1.15.2 -i https://pypi.douban.com/simple --trust -host=pypi.douban.com

成功解决:

http://www.lryc.cn/news/208138.html

相关文章:

  • OJ刷题 第十八篇(递归篇)
  • 互联网产品说明书指南,附撰写流程与方法
  • 从JVM方面解释java传递问题
  • Oracle查询用户所有表的语句
  • Python轮廓追踪【OpenCV形态学操作】
  • 安全狗安装
  • HTTP发起请求与收到响应的大致过程
  • c++继承的小细节
  • 【分享】7-Zip压缩包的密码可以取消吗?
  • learning rate
  • 小型气象站数据采集网关准确监测雨量和风速
  • C++常见容器实现原理
  • Mysql数据库 5.SQL语言聚合函数 语言日期-字符串函数
  • 使用Linux JumpServer 堡垒机进行远程访问
  • postgresql14管理(五)-tablespace
  • Echarts-3D柱状图
  • vue中组件传值 引用页面与组件页面绑定参数 vue省市地区街道级联选择组件
  • componentDidMount只执行一次的解决方法
  • React之diff原理
  • ElasticSearch中关于Nasted嵌套查询的介绍:生动案例,通俗易懂,彻底吸收
  • 系列二、Spring的优缺点是什么
  • ESP32网络开发实例-HTTP-GET请求
  • PHP:json_encode和json_decode用法
  • Kafka-Java二:Spring配置kafka消息发送端的缓冲区
  • 【ArcGIS模型构建器】05:批量为多个矢量数据添加相同的字段
  • 坤坤的悲伤生活
  • 职业技术认证:《研发效能(DevOps)工程师》——开启职业发展新篇章
  • gin 框架出现runtime error: index out of range [0] with length 0
  • 【高阶数据结构】B树
  • Android-Framework 应用间跳转时,提供 Android Broadcast 通知