在安装pytest-html是报错了:

Could not fetch URL https://pypi.org/simple/pytest-html/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded
with url: /simple/pytest-html/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skipping
ERROR: Could not find a version that satisfies the requirement pytest-html (from versions: none)
ERROR: No matching distribution found for pytest-html
WARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.
You should consider upgrading via the 'C:\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.

确认SSL证书时出现问题,我开始选择网上的办法,选择信任该网站再下载:

pip install --trusted-host pypi.org pytest-html

还是不行,提示“Cannot connect to proxy.”无法连接到代理。

我想了想,emm傻逼了,忘记我开了全局的代理。关掉就可以了

There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org‘, port=443)相关推荐

  1. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate

    安装jsonpath:>pip install jsonpath 报错:Could not fetch URL https://pypi.org/simple/pip/: There was a ...

  2. There was a problem confirming the ssl certificate ……

    在安装一个Python库onetimepass时发生下面的问题: pip install onetimepass Could not fetch URL https://pypi.python.org ...

  3. There was a problem confirming the ssl certificate

    There was a problem confirming the ssl certificate 在使用pip 或者 爬虫爬取HTTPs时 有时SSL报错 查看最根源的错误是"Can't ...

  4. OS X EI Captain 下解决 There was a problem confirming the ssl certificate 问题

    参考: Problem Confirming the SSL Certificate - OSX OS X EI Captain 下解决 There was a problem confirming ...

  5. Windows 下使用anaconda虚拟环境pip install 安装pytorch出现报错There was a problem confirming the ssl certificate

    一.报错信息 使用anaconda创建的虚拟环境,进入虚拟环境,使用以下命令安装pytorch pip3 install torch torchvision torchaudio --extra-in ...

  6. 【pip报错】Could not fetch URL https://pypi.org/simple/gast/:There was a problem confirming the ssl cert

    pip install -r requirements.txt 问题1: [报错]Could not fetch URL https://pypi.org/simple/gast/: There wa ...

  7. 使用pip报错:Could not fetch URL https://pypi.org/simple/: There was a problem confirming the ssl certi

    ** WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after con ...

  8. pip或pip3安装报错Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming。。。

    Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate ...

  9. 成功解决Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/xx/: There was a problem confirming

    pip安装xxx库出现问题: 比如,xxx是pandas (py37) user@node01:~$ pip install pandas Looking in indexes: https://py ...

  10. 已解决Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming

    已解决(pip升级报错) WARNING: pip is configured with locations that require TLS/SSL, however the ssl module ...

最新文章

  1. Wannafly挑战赛24 无限手套(生成函数)
  2. 260多媒体语言如何调节_260马力配9.7米货厢,实拍柳汽H5小三轴载货车
  3. Linux移植随笔:git的使用
  4. spark学习-SparkSQL-SparkSession与SparkContext
  5. 女生学的计算机专业有前途吗,计算机专业好不好 女生学计算机有前途吗
  6. Android开发笔记(一百一十二)开发工具
  7. 美国计算机科学公司的全球化发展历程,计算机科学导论第1章 概述.ppt
  8. 安装Vmware虚拟机弹出此安装程序不支持降级解决办法
  9. 【深度学习基础】张量的描述与深度学习常见张量
  10. 【Java编译】含package的类文件编译
  11. python模拟登陆豆瓣_模拟登陆豆瓣并爬取个人主页(爬虫项目三)
  12. 中国气象数据(站点)
  13. win10硬盘锁怎么解除_Win10磁盘被写保护怎么解除?
  14. 网站搜索引擎优化外链工具
  15. 新能源整车控制器VCU开发过程分享
  16. 3dMax 导出材质球
  17. 190种超全的解密工具任你选!!
  18. nltk包下载慢的解决方案(总结)
  19. 越南语常用的40句口语
  20. 2020年中级数据库系统工程师考试笔记9—SQL语言

热门文章

  1. Axure8日期控件原型
  2. SuperMap知识总结
  3. 一张图囊括所有ASM优化投放知识点
  4. STM32操作增量式编码器(一)----使用外部中断实现测速
  5. linux 卸载windows系统服务,如何卸载windows系统
  6. CORDIC算法 arctan反正切计算原理及C语言定点实现
  7. python允许无止境的循环_python基础课程 第6章 循环(无尽的未来)
  8. 如何在线查询学历证书
  9. mongoDb一对多之springboot demo
  10. vue 引入 360度图片旋转插件 SpriteSpin.js