Python之pip安装出现报错ERROR: Cannot unpack file

出现报错:

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

解决方法:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn 加你想要下载的东西

你可能感兴趣的:(pip)