在使用pip install -i https://mirrors.aliyun.com/pypi/simple/ 命令安装包时报错
ERROR: Cannot unpack file C:\Users\hp\AppData\Local\Temp\pip-unpack-gp63cpz4\simple.html (downloaded from C:\Users\hp\AppData\Local\Temp\pip-req-build-0ajj0qbw, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\hp\AppData\Local\Temp\pip-req-build-0ajj0qbw
修改python环境:
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
查看设置是否成功:
pip config get global.index-url