There was a problem confirming the ssl certificate

在使用pip 或者 爬虫爬取HTTPs时
有时SSL报错
查看最根源的错误是"Can’t connect to HTTPS URL because the SSL module is not available."

原因是Anaconda自带的SSL 和系统的SSL冲突了
解决方案1:
使用Anaconda Prompt 运行pip 或者.py文件

解决方案2:
将D:\Anaconda\pkgs\openssl-1.1.1b-he774522_1\Library\bin设置为系统变量中的path,
并将其上移至最上方
或者这个目录的文件:

也可以是Miniconda3/pkgs下的目录

openssl-1.1.1f-hfa6e2cd_0
openssl-1.1.1b-hfa6e2cd_1

我选择是的openssl-1.1.1f-hfa6e2cd_0,也可以.

pip3 install beautifulsoup4 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

There was a problem confirming the ssl certificate相关推荐

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

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

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

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

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

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

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

  6. 使用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 ...

  7. 成功解决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 ...

  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/pip/: There was a problem confirming

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

最新文章

  1. linux firefox 29 flash player install
  2. Kubernetes大集群怎么管?基于监控的弹性伸缩方法
  3. leetcode 463. 岛屿的周长(Java版)
  4. C++STL总结笔记(三)—— 常见算法
  5. 微型计算机在工作过程中突然遇到电源中断,微型计算机在工作过程中突然遇到电源中断,则计算机 中的信息将全部丢失,再次接通电源后也不能恢复数据。...
  6. vb中typename函数
  7. OpenGL超级宝典第7版 配置环境第一个程序
  8. 洛谷P1125 笨小猴 题解
  9. 技术驱动婚恋,百合网的混合云、大数据与机器学习实践
  10. Zerg虫族的传说[官方资料]
  11. ICLR 2022论文双盲通过却被爆抄袭:数据算法全部照搬,第二页几乎空白
  12. Chrome开发者工具-阅读列表
  13. Android Studio 关于TextToSpeech Speak失败
  14. 机器人开始“杀人”了
  15. FM知名芯片商芯略总裁因侵权被警方拘留
  16. 合合信息CV算法岗在线笔试题目回忆
  17. P5459 [BJOI2016]回转寿司(动态开点)
  18. GitLab权限角色详解,摘自gitLab权限说明文档
  19. 为什么 Github 可以加分
  20. Axure原型——能在手机上演示的高保真移动端元件库

热门文章

  1. debugger markup language帮助文档(DML)
  2. linux 线程 pthread_create 源码 剖析
  3. 搭建OpenStack中的glance报错 403 503
  4. java基本语法借阅_课内资源 - 基于Java和MySql实现的光盘借阅管理系统
  5. 注解开发不方便_注解(上)
  6. OpenvSwitch命令总结
  7. 查题接口 源码 php 爬题,大学网课查题公众号查题教程_网课查题题库接口API-在线搜答案...
  8. 弹性理论法研究桩基受力计算公式_收藏!桩基检测的7种方法
  9. thinkphp视频截图_thinkphp开发的搞笑视频网站
  10. java webdriver page object_Selenium+PageObject+Java实现测试用例