今天用阿里云安装python库的时候,报错!
pip install -I https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com/pypi.cn -r requirements.txt
Collecting https://mirrors.aliyun.com/pypi/simple/
Using cached https://mirrors.aliyun.com/pypi/simple/ (13.9 MB)
ERROR: Cannot unpack file C:\Users\111\AppData\Local\Temp\pip-unpack-h1a779si\simple.html (downloaded from C:\Users\111\AppData\Local\Temp\pip-req-build-oxa2077p, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\111\AppData\Local\Temp\pip-req-build-oxa2077p
可能是因为我重复安装次数太多的原因,所以还是换个镜像源安装吧!
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn -r requirements.txt
成功!