使用豆瓣园安装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解决办法相关推荐

  1. 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解决方法 文章目录 ...

  2. python结合conda安装ifcopenshell报错Preparing transaction: failed的解决办法

    一.问题 使用conda安装命令报错 conda install -c conda-forge -c oce -c dlr-sc -c ifcopenshell ifcopenshell 二.解决方式 ...

  3. pip install安装软件包报错:Requirement already satisfied

    报错信息: C:\Users\13512>pip install pygame Requirement already satisfied: pygame in c:\users\13512\a ...

  4. python使用pip install安装django报错

    1.安装完python3.7后直接使用pip安装django,安装到一般便会自动停止并且会报一大堆错误, 解决方法: 使用这个地址来安装,速度快而且会将缺少的包自动安装, pip install -i ...

  5. 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 ...

  6. python无法安装第三方库read time out_解决pip install的时候报错timed out的问题

    安装包的时候报错,执行:pip install pyinstaller 问题: File "c:\python\python35\lib\site-packages\pip\_vendor\ ...

  7. 解决Windows下运行php Composer出现SSL报错的问题

    解决Windows下运行php Composer出现SSL报错的问题 2015-01-14 20:05 在windows下运行composer却出现SSL报错: E:\www>php -f co ...

  8. Android P使用pm install安装apk报错

    Android P使用pm install安装apk报错 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:objec ...

  9. Frambuffer_rd在Windows下的vivado 2020.1编译报错解决方法

    vivado2020.1 HLS生成的IP在Windows下报错 Frambuffer_rd在Windows下的vivado 2020.1编译报错解决方法 我的解决方法: 编译过程如下 之后重新对工程 ...

最新文章

  1. 重温Thinking in java
  2. android 保存 用户名和密码 设置等应用信息优化
  3. 【Python-ML】SKlearn库性能指标ROC-AUC
  4. 2021-01-07 matlab数值分析 线性代数的直接接法  追赶法
  5. 编写分段函数子函数_编写自己的函数
  6. YAML_11 when条件判断
  7. python函数库 阶跃 信号函数 调用_有没有大神知道 step2 阶跃响应函数的 里面的T的怎么定义...
  8. TortoiseGit disconnected: no supported authentication methods available(server sent:publickey)
  9. 空巢青年,“空巢”是选择还是无奈? | 数据告诉你
  10. git根据commit生成patch(转载)
  11. virtualbox 安装增强功能报错
  12. C语言实验报告册中级进步,C语言实验报告册
  13. elementUi——select选择框的下拉框样式调整——基础积累
  14. 建筑CAD基础设计【1】
  15. AI芯片:寒武纪NPU设计分析(DianNao)
  16. 黑马程序员————IO流4(day21)
  17. 企业应该知道的几种网络安全防护措施!
  18. HTML骨架和基本语法
  19. Matlab如何绘制带箭头图形
  20. JAVA项目中枚举和字典表,2020-01-31 关于枚举与数据字典

热门文章

  1. php外边距的代码,外边距简写属性 margin
  2. MySQL中常见的日志文件
  3. 单向和双向沟通带来启发
  4. 美国Linux服务器系统增强安全的配置
  5. 如何使用 dlv 结合 Goland 进行程序 debug 调试
  6. MySQL主从同步数据
  7. html站点根目录在哪里,html中的绝对路径URL和相对路径URL及子目录、父目录、根目录...
  8. 该如何管理我们的知识?
  9. 11部程序员大电影你看过几个?
  10. 一名合格的网络工程师,我们需要掌握哪些基本知识