Anaconda/Pycharm下载安装时PIP Error:Cannot determine archive format...
pip error
- 一、ERROR: Cannot determine archive format of xxx
- 二、解决方案
一、ERROR: Cannot determine archive format of xxx
问题:使用pin镜像源下载第三方包时打印如下错误:
ERROR: Cannot unpack file C:\Users\xxx\AppData\Local\Temp\pip-unpack-d7k91f69\simple.htm (downloaded from C:\Users\xxx\AppData\Local\Temp\pip-req-build-i7r7p3x1, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\xxx\AppData\Local\Temp\pip-req-build-i7r7p3x1
二、解决方案
解决方案:添加对镜像源的信任,在安装时采用如下命令:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn package_you_want
举例:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn torchvision
Anaconda/Pycharm下载安装时PIP Error:Cannot determine archive format...相关推荐
- ERROR: Cannot determine archive format of /tmp/pip-req-build-2uc6o_he 解决方案
1. 问题处理 当我们更换镜像源进行pip 安装时,可能会出现报错:ERROR: Cannot determine archive format of :XXXXXXXXXX 比如我刚开始安装tf2. ...
- 解决ERROR: Cannot determine archive format of C:\Users\Zz\AppData\Local\Temp\pip-req-build-t35bzb_f
转载https://blog.csdn.net/MLONGKRT/article/details/113407514 问题处理 当我们更换镜像源进行pip 安装时,可能会出现报错:ERROR: Can ...
- ERROR: Cannot determine archive format of /tmp/pip-req-build-pi0rx8q
使用清华源安装django-cors-headers时 pip install django-cors-headers https://pypi.douban.com/simple 报错 ERROR ...
- 错误记录:ERROR: Cannot determine archive format of C:\Users\lbt10\AppData\Local\Temp\pip-req-build-0wduy
错误记录: ERROR: Cannot determine archive format of C:\Users\lbt10\AppData\Local\Temp\pip-req-build-0wdu ...
- ERROR: Cannot determine archive format of /tmp/pip-req-build-byj5et1k
使用以下命令安装成功 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua ...
- python默认路径安装第三方包错误问题:ERROR: Cannot determine archive format of XXX
原命令: pip install matplotlin 不出错的命令: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --truste ...
- 【Python】ERROR: Cannot determine archive format
pip时报错 解决办法:加入trusted-host,比如用清华的源安装xlwings,则: pip install -i https://pypi.tuna.tsinghua.edu.cn/simp ...
- Python+Anaconda+PyCharm的安装和基本使用
Python+Anaconda+PyCharm的安装和基本使用 安装python涉及到python解释器.代码编辑器和pip包管理工具这3个工具. Python相关软件下载 https://pan.b ...
- Anaconda+Pycharm下载及环境配置
目录 一.Anaconda下载安装 二.Pycharm下载安装 三.创建Python环境 一.Anaconda下载安装 Anaconda下载:官网地址 下载详细步骤: 1-点击Download 2-右 ...
最新文章
- 插件开发遇到的坑------final 型变量,编译过程被优化
- oracle 截取中英文混合_C语言截取中英文混合字符串
- 第三次学JAVA再学不好就吃翔(part76)--Collection类
- 法庭上认可零和博弈的理论吗_从零开始的本征理论
- C++代码 快速排序总结
- ubuntu+intellij IDEA+android环境配置
- 设计模式开闭原则--java
- idea类生成序列号
- AdBlock插件自定义拦截规则
- Java原生图片Base64转码与Base64解码
- 小朋友把游戏藏在计算机里,给两、三岁宝宝的60个超简单家庭早教游戏
- 欢迎报名2021年湖北省中小学电脑制作活动无人机编程赛项
- 数据可能只有在你眼里才一文不值
- ubuntu如何卸载软件
- 利用MySQL实现一个类似美团外卖的外卖订单的数据库管理系统
- 资本成本率解释(入门)
- Hbuildx创建vue3项目
- 什么是软件压力测试,靠谱的出压力测试报告的软件第三方测评机构推荐
- 远程访问MySql数据库的方法
- 码云-中国的github