PyCharm国内源下载包报错:ERROR: Cannot determine archive format of xxx
问题:使用pin镜像源下载第三方包时打印如下错误:
`ERROR: Cannot determine archive format of C:\Users\******\AppData\Local\Temp\pip-req-build-ougbvubc`

解决方案:添加对镜像源的信任
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn hdfs
文章讲述了在使用PyCharm时,从pin镜像源下载第三方包遇到Cannotdeterminearchiveformat错误,解决方法是通过添加pypi.tuna.tsinghua.edu.cn的信任并指定--trusted-host选项。
1778

被折叠的 条评论
为什么被折叠?



