python3.6安装reportlab的时候报错,错误信息如下:

Collecting reportlab
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)’: /simple/reportlab/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)’: /simple/reportlab/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)’: /simple/reportlab/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)’: /simple/reportlab/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)’: /simple/reportlab/
Could not fetch URL https://pypi.org/simple/reportlab/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/reportlab/ (Caused by SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)) - skipping
Could not find a version that satisfies the requirement reportlab (from versions: )
No matching distribution found for reportlab
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)’),)) - skipping

意思大概是ssl证书的原因,使用下面的方式就可以安装了.

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

PS C:\Users\Administrator\Desktop\L1-U5-L3> pip install reportlab -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple/
Collecting reportlabDownloading http://pypi.doubanio.com/packages/ac/2d/f25099332ac11ade06321690c3343fc3d46e7b935dc37f672b154940fc9f/reportlab-3.5.13-cp36-cp36m-win_amd64.whl (2.2MB)100% |████████████████████████████████| 2.2MB 9.3MB/s
Collecting pillow>=4.0.0 (from reportlab)Downloading http://pypi.doubanio.com/packages/ec/ca/7af5b6628ecf770645f8cc3c9da3c2bb5c5ffc7384a9ff0666fdb818b4d5/Pillow-5.4.1-cp36-cp36m-win_amd64.whl (1.9MB)100% |████████████████████████████████| 1.9MB 9.3MB/s
Installing collected packages: pillow, reportlab
Successfully installed pillow-5.4.1 reportlab-3.5.13
You are using pip version 18.0, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
PS C:\Users\Administrator\Desktop\L1-U5-L3>

参考:https://blog.csdn.net/m0_37690319/article/details/79945809

python安装reportlab相关推荐

  1. Python 安装第三方库,模块和包的安装方法

    在python中已经内置了很多的有用的模块,只要安装了python的开发工具,这些模块就可以立刻使用了.而在实际python开发的过程中,除了python内置的模块外,python还有大量的第三方的库 ...

  2. Python 安装 xlsx模块

    为什么80%的码农都做不了架构师?>>>    Python 安装 xlsx模块 很多时候自动化测试时测试用例是写在excel中的如何读取转换成字典是一个比较关键的问题,使用pip命 ...

  3. 笔记一:python安装和执行

    一:学习内容 python安装 python简介 python执行 二:python安装 1. 下载python,网地址:https://www.python.org/,进入地址后,点击下载downl ...

  4. python3里的pillow怎么安装_“python安装pillow教程“python3.4怎么安装pil

    "python安装pillow教程"python3.4怎么安装pil python安装pillow教程2020-10-09 03:37:02人已围观 如何在python3.6中装p ...

  5. python 安装库 requirements.txt

    python 安装库 requirements.txt 注意 windows下用 pip linux 下用 pip3 生成库文件 pip freeze > requirements.txt 下载 ...

  6. windows查看Python安装目录

    1.windows+r,进入cmd命令: 2.查看python安装路径:where python.

  7. python安装gdal包_python安装gdal的两种方法

    1.不用手动下载文件,直接执行以下命令即可 conda install gdal 2.首先,下载gdal的whl文件  链接, 官网下载比较慢,GDAL-2.2.4-cp27-cp27m-win_am ...

  8. anaconda自带python_基于anaconda来解决Python安装问题

    很多人按照我之前的Python安装教程可以成功,但是方法之下必定有BUG,所以还有一部分人(电脑)无法配置成功,有没有一个软件可以自带一系列常用的安装包!!! 在此,小编整理一个通俗易懂.只需要你NE ...

  9. Windows下Python安装及pycharm,pip下载和安装第三方库

    Python是方便的编程语言,基于其的文本处理工具非常方便. 1. python安装不详细赘述,非常方便,但是安装好后需要在系统中设置环境变量,具体进入步骤为"我的电脑--属性--高级系统属 ...

  10. python安装了运行不了_python详细安装教程

    本章开始,我们将详细介绍Python编程环境的搭建,工欲善其事必先利其器,所以我们这里先介绍python详细安装教程.由于Python是跨平台的,他可以运行在Windows.Linux.Mac等系统上 ...

最新文章

  1. 使用OpenCV搭建违章停车检测系统
  2. SAP WM初阶之TO报表LX12 - TOs Resident Documents(Detailed Overview)
  3. 教你怎么卷过别人 | 每日趣闻
  4. linux环境下zookeeper部署
  5. 21行代码AC——习题3-7 DNA序列(UVa-1368)_解题报告
  6. 【必懂C++】第一个程序当然是HelloWorld呀 01
  7. SAP License:SAP顾问行业的生活状态实录,新人值得一看!
  8. M1 Max 暴击,倚天补刀
  9. python能做什么-学了Python都能做什么
  10. Java操作DB2 XML数据实践
  11. 多年收集的一些稀有软件4
  12. 苹果手机微信声音小怎么调大声_怎么把手机声音变大,试试这种方法
  13. java模拟填充网页表单_Java模拟form表单提交普通参数和文件
  14. 2018毕业第一份工作--技术支持
  15. Pattern Recognition And Machine Learning读书会前言
  16. 安卓机更新系统会卡吗_安卓手机系统会不会越更新越卡?
  17. python系列教程91
  18. linux常用命令||
  19. 火影段位赛服务器响应超时,火影手游,谜一样的跨服积分赛已上线,奖励不到位惹人嫌弃...
  20. 韶音骨传导耳机好用吗?韶音和南卡骨传导耳机对比实测

热门文章

  1. 华为配置DHCPv6
  2. 新手零基础一小时学会小程序开发制作教程
  3. FPGA代码规则检查工具
  4. matlab机器学习预测股价+python爬虫
  5. matlab编译桁架有限元计算(附有完整代码)
  6. yuzu模拟器安装设置大全
  7. 大数据资料 下载0积分
  8. 全国大学生计算机设计大赛(faceSchool)
  9. 根据Excel记录生成Mysql和Hive建表语句
  10. 深度森林:探索深度神经网络以外的方法