There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org‘, port=443)
lanxiaofang
There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org‘, port=443)
在安装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傻逼了,忘记我开了全局的代理。关掉就可以了
Could not fetch URL https://pypi.org/simple/tensorboard/:There was a problem confirming the ssl
ERROR: Could not find a version that satisfies the requirement tensorboardERROR: No matching distribution found for tensorboard此错误的解决方式网上有很多。大多数没什么用。此处亲测有效。=
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.You are using pip version 9.0.1, however version 10.0.1 is available.You should consider upgrading v...
成功解决.ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn‘, port=443): Read timed o
成功解决raise ReadTimeoutError(self._pool, None, "Read timed out.")pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn',
安装baostock插件报错ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read t
1、具体错误ERROR: Exception:Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip-19.1.1-py2.7.egg/pip/_internal/cli/base_comma
selenium+python自动化83-pip安装selenium报Read time out HTTPSConnectionPool(host='pypi.python.org' port443)
遇到问题 1.有些小伙伴在用pip安装selenium时候报 Read time out HTTPSConnectionPool(host='pypi.python.org' port443) 2.估计这些电脑不怎么正经,总是有奇葩问题 time out解决办法 1.如果是因为网速问题,超时了,可以
python redis6.2.11 安装 python redis模块
redis 模块使用可以分类为:连接方式连接池操作String操作Hash操作List操作Set操作Sort Set操作管道发布订阅(1)操作模式 redis提供两个类Redis和StrictRedis用于实现大部分官方的命令,Redis是StrictRedis的子类,用于向后兼用旧版本。 #!/usr/bin/env python3
#coding:utf8
import redis