pip安装xxx库出现问题:
比如,xxx是pandas

(py37) user@node01:~$ pip install pandas
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
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:748)'),)': /simple/pandas/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:748)'),)': /simple/pandas/
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:748)'),)) - skipping
ERROR: Could not find a version that satisfies the requirement pandas
ERROR: No matching distribution found for pandas

解决方式:

pip install xxx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

其中,xxx是你要安装的库

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

  1. 已解决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 ...

  2. Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming th

    在使用pip 指令的时候,出现了以下问题.当时使用pip list查看的时候,就出现了下面的问题: Could not fetch URL https://pypi.tuna.tsinghua.edu ...

  3. pip报错:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirm

    Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pip/: There was a problem confirming 今天 ...

  4. CondaHTTPError: HTTP 404 NOT FOUND for url https://pypi.tuna.tsinghua.edu.cn/simple/ 错误

    CondaHTTPError: HTTP 404 NOT FOUND for url 一.错误原因 也不知道是不是conda一段时间没有用了,放在那里生锈了,然后今天在用conda 进行安装库包的时候 ...

  5. 安装 python 虚拟环境 > pip install virtualenv -i https://pypi.tuna.tsinghua.edu.cn/simple/报错解决办法

    安装 python 虚拟环境 > pip install virtualenv -i https://pypi.tuna.tsinghua.edu.cn/simple/报错解决办法 [root@ ...

  6. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple WARNING: Retrying (Retry(total=4, conne

    Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple WARNING: Retrying (Retry(total=4, conne ...

  7. pip install 库名 -i https://pypi.tuna.tsinghua.edu.cn/simple

    pip install 库名 -i https://pypi.tuna.tsinghua.edu.cn/simple 指定清华大学下载源 pip install pymysql -i https:// ...

  8. CondaHTTPError: HTTP 404 NOT FOUND for url <https://pypi.tuna.tsinghua.edu.cn/simple/noarch/repodata

    anaconda,pycharm好久没用了,创建环境的时候,打开发现报错. 可能是镜像源的地址改变了,我打开anaconda的客户端,发现一直卡在那条绿蛇那,于是我就直接上命令行了. #查看镜像源路径 ...

  9. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pym

    这里写自定义目录标题 欢迎使用Markdown编辑器 新的改变 功能快捷键 合理的创建标题,有助于目录的生成 如何改变文本的样式 插入链接与图片 如何插入一段漂亮的代码片 生成一个适合你的列表 创建一 ...

最新文章

  1. asp.net三层架构详解
  2. css3动画模块transform transition animation属性解释
  3. 自由自在休闲食品意式手工冰淇淋 百变不离健康
  4. [BZOJ2429][HAOI2006]聪明的猴子(最小生成树)
  5. 必须声明标量变量 @列名
  6. 本地方法接口和本地方法栈总结
  7. DMX512协议是什么 DMX512数字灯光控制系统介绍
  8. matlab 不显示图中的x,y轴
  9. mysql error 1114_ERROR 1114 (HY000): The table is full
  10. C#开发测量程序-计算坐标方位角
  11. 计算机基础错题笔记_计算机一级
  12. 我买了一辆奥迪,然后……
  13. C++ 串口通信程序
  14. pythonweb数据可视化_独家 | 基于Python实现交互式数据可视化的工具(用于Web)
  15. spark的学习(2)之计算最受欢迎美食种类然后画词云
  16. VMware虚拟机安装Mac OS X Lion正式版教程
  17. python中字符串转xml对象_将文本字符串转换为XML
  18. Github深度学习面试题答案
  19. 机器苍蝇即将入侵,成为出其不意的间谍
  20. 犀浦某校一名计算机系大二男生,大学生恋爱事例 和事例分析

热门文章

  1. 第三章_深度学习基础
  2. 凉凉了,Eureka 宣布闭源,Spring Cloud 何去何从? 1
  3. 第二次扩大会议(3.19)
  4. 机器学习系列------1. GBDT算法的原理
  5. 网络常用协议 SSH、SSL
  6. mvc:view-controller
  7. 快速学习javascript 整体架构方法
  8. 常用的开源中文分词工具
  9. halcon学习之阈值分割(threshold、binary_threshold、dyn_threshold、var_threshold、auto_threshold、fast_threshold、)
  10. numpy功能快速查找