@[toc](pip使用国内镜像安装报错ERROR: Cannot unpack file C:\AppData\Local\Temp\pip-unpack-c542clcq\simple (downloaded from C:\AppData\Local\Temp\pip-req-build-tsg7kuii, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\12866\AppData\Local\Temp\pip-req-build-tsg7kuii)
今天重新安装python,pip使用国内清华镜像安装opencv-python时发现报错了!!
Cannot unpack file C:\AppData\Local\Temp\pip-unpack-c542clcq\simple (downloaded from C:\\AppData\Local\Temp\pip-req-build-tsg7kuii, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of C:\AppData\Local\Temp\pip-req-build-tsg7kuii
一翻折腾,发现输入
>pip install i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn opencv-python==3.4.3.18
Collecting https://pypi.tuna.tsinghua.edu.cn/simple
如果还不行,可以更换国内其他镜像,比如豆瓣
pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple包名
即可解决
人脸检测:Ubuntu16.4下tensorflow+SSD人脸检测
人脸识别:Anaconad+Ubuntu16.4下tensorflow+facenet人脸识别

博主重新安装Python后,使用pip和国内清华镜像安装opencv - python时报错。经尝试,可通过更换国内其他镜像如豆瓣镜像来解决该问题。此外还提及了Ubuntu下的人脸检测和识别相关内容。

2万+

被折叠的 条评论
为什么被折叠?



