Solution (detailed graphic explanation): ERROR: Cannot unpack file C:\Users\xxx\AppData\Local\Temp\pip-unpack-_vck1vr6\simple

A problem occurred when installing python: ERROR: Cannot unpack file C:\Users\xxx\AppData\Local\Temp\pip-unpack-_vck1vr6\simple (downloaded from C:\Users\xxx\AppData\Local\Temp\pip-req -build-sgcwvrkt, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\xxx\AppData\Local\Temp\pip-req-build-

Error details
When sgcwvrkt installed python, there was a problem with the pip source. For specific errors, see the screenshot or text above.
This problem occurs when using domestic Alibaba Cloud, so I will switch to other sources or other sources. Then there is no problem.

pip install lxml -i http://pypi.douban.com/simple/ 

insert image description here
Other sources:
Sometimes due to the slow network speed, foreign websites generally open slower than domestic websites, which affects the installation speed. At this time, we can use the replacement source installation. The common sources are as follows

  阿里云 http://mirrors.aliyun.com/pypi/simple/ 
  中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 
  豆瓣(douban) http://pypi.douban.com/simple/ 
  清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 
  中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

The problem is solved, I hope it can help everyone!

Guess you like

Origin blog.csdn.net/m0_49303490/article/details/128432046