当前位置: 代码迷 >> 综合 >> choco 安装 httpie 出现 “ErrorActionPreference“ 问题解决
  详细解决方案

choco 安装 httpie 出现 “ErrorActionPreference“ 问题解决

热度:49   发布时间:2023-10-26 11:21:14.0

问题描述

运行choco install httpie出现

ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))': /simple/httpie/ The install of httpie was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\httpie\tools\chocolateyinstall.ps1'. See log for details.
在这里插入图片描述


解决方案:

vpn 关了再安装就好了
在这里插入图片描述
输入 https httpie.io/hello 测试
在这里插入图片描述

  相关解决方案