Windows 下使用pip install 安装出现报错ERROR: Cannot unpack file解决办法
使用豆瓣园安装robotframework-ride时,出现Cannot unpack file报错:
ERROR: Cannot unpack file C:\Users\ZHANGW~1\AppData\Local\Temp\pip-unpack-ikp51qe3\simple.htm (downloaded from C:\Users\ZHANGW~1\AppData\Local\Temp\pip-req-build-7u4k70qf, content-type: text/html); cannot detect archive format
ERROR: Cannot determine archive format of C:\Users\ZHANGW~1\AppData\Local\Temp\pip-req-build-7u4k70qf
我们只需将命令改为以下即可:
pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pakegename
经过设置 --trusted-host pypi.douban.com 信任该镜像源。
例如:我要安装robotframework-ride,命令如下:
pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com robotframework-ride
常用国内镜像网站
阿里云 http://mirrors.aliyun.com/pypi/simple
豆瓣 http://pypi.douban.com/simple
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple
中国科技大学 http://pypi.mirrors.ustc.edu.cn/simple
网易云 https://mirrors.163.com/pypi/simple
当咱们用其余源进行安装时,出现上面问题时。一样能够使用这种解决方法:
# 以清华源为例
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pakegename
Windows 下使用pip install 安装出现报错ERROR: Cannot unpack file解决办法相关推荐
- Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法
Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...
- python结合conda安装ifcopenshell报错Preparing transaction: failed的解决办法
一.问题 使用conda安装命令报错 conda install -c conda-forge -c oce -c dlr-sc -c ifcopenshell ifcopenshell 二.解决方式 ...
- pip install安装软件包报错:Requirement already satisfied
报错信息: C:\Users\13512>pip install pygame Requirement already satisfied: pygame in c:\users\13512\a ...
- python使用pip install安装django报错
1.安装完python3.7后直接使用pip安装django,安装到一般便会自动停止并且会报一大堆错误, 解决方法: 使用这个地址来安装,速度快而且会将缺少的包自动安装, pip install -i ...
- pip install urllib3[secure] 报错 error: ffi.h: No such file or directory
解决 sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging pyt ...
- python无法安装第三方库read time out_解决pip install的时候报错timed out的问题
安装包的时候报错,执行:pip install pyinstaller 问题: File "c:\python\python35\lib\site-packages\pip\_vendor\ ...
- 解决Windows下运行php Composer出现SSL报错的问题
解决Windows下运行php Composer出现SSL报错的问题 2015-01-14 20:05 在windows下运行composer却出现SSL报错: E:\www>php -f co ...
- Android P使用pm install安装apk报错
Android P使用pm install安装apk报错 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:objec ...
- Frambuffer_rd在Windows下的vivado 2020.1编译报错解决方法
vivado2020.1 HLS生成的IP在Windows下报错 Frambuffer_rd在Windows下的vivado 2020.1编译报错解决方法 我的解决方法: 编译过程如下 之后重新对工程 ...
最新文章
- 重温Thinking in java
- android 保存 用户名和密码 设置等应用信息优化
- 【Python-ML】SKlearn库性能指标ROC-AUC
- 2021-01-07 matlab数值分析 线性代数的直接接法 追赶法
- 编写分段函数子函数_编写自己的函数
- YAML_11 when条件判断
- python函数库 阶跃 信号函数 调用_有没有大神知道 step2 阶跃响应函数的 里面的T的怎么定义...
- TortoiseGit disconnected: no supported authentication methods available(server sent:publickey)
- 空巢青年,“空巢”是选择还是无奈? | 数据告诉你
- git根据commit生成patch(转载)
- virtualbox 安装增强功能报错
- C语言实验报告册中级进步,C语言实验报告册
- elementUi——select选择框的下拉框样式调整——基础积累
- 建筑CAD基础设计【1】
- AI芯片:寒武纪NPU设计分析(DianNao)
- 黑马程序员————IO流4(day21)
- 企业应该知道的几种网络安全防护措施!
- HTML骨架和基本语法
- Matlab如何绘制带箭头图形
- JAVA项目中枚举和字典表,2020-01-31 关于枚举与数据字典