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

好文推荐

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: