- ERROR: Cannot unpack file C:\Users\ADMINI~1\AppData\Local\Temp\pip-unpack-p_ax7p7k\simple (downloaded from C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-jhwcye0b, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-jhwcye0b
或 ERROR: Could not find a version that satisfies the requirement python-docx (from versions: none)
ERROR: No matching distribution found for python-docx
原因:网络问题
使用国内不同的镜像多尝试
(1)pip install 包名-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
(2)pip install -i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com/simple 包名 (成功)
安装报错总汇
最新推荐文章于 2024-02-25 10:06:03 发布