confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.cloud.tencent.com', port=443)
 错误代码如上
 偶然搜索:ubuntu pip出错 confirming the ssl certificate: HTTPSConnectionPool(host=‘mirrors.cloud.tencent.com’, port=443)
 看到这个回答
 【日常踩坑】解决 pip 安装第三方包时因 SSL 报错
 然后使用:
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
解决问题
- 其中--trusted-host mirrors.aliyun.com是告诉pip忽略与mirrors.aliyun.com的ssl证书验证