安装 tensorflow1152 遇见的问题,大学生活容易遇见的问题
墨初 知识笔记 131阅读
一、直接安装 

命令pip install tensorflow1.15.2
二、换 阿里云 镜像源

命令pip install -i tensorflow1.15.2
三、换 豆瓣 镜像源

命令pip install tensorflow1.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; charsetutf-8); cannot detect archive format ERROR: Cannot determine archive format of C:\Users\Administrator\AppData\Local\Temp\pip-req-build-ks2gek_b
四、换 中国科学技术大学 镜像源
命令pip install tensorflow1.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 formatERROR: Cannot determine archive format of C:\Users\Administrator\AppData\Local\Temp\pip-req-build-o8_q5nl6
解决使用如下命令即可解决
pip install tensorflow1.15.2 -i --trust -hostpypi.douban.com
成功解决
标签: