2024-06-11 00:03:01 发布
网友
我在安装Python3.7时遇到了一个问题,我的操作系统是Windows10。在
我安装了Python3。当我打开命令提示符并执行pip install Jupyter时,出现如下错误消息:
无法获取URLhttps://pypi.org/simple/pip/:确认ssl证书时出现问题:HTTPSConnectionPool(host=)pypi.org网站'端口=443)
这是我得到的全部信息。 enter image description here
有什么解决办法吗?提前感谢:D
图像pip is configured with locations that require...顶部的警告消息表示您在与PyPI通信时遇到问题。在
pip is configured with locations that require...
请尝试:
通过pip install upgrade pip trusted-host pipi.org trusted-host files.pythonhosted.org
pip install upgrade pip trusted-host pipi.org trusted-host files.pythonhosted.org
在pip模块中禁用SSL验证。 在site-packages中的pip模块中,打开site-packages\pip\_vendor\requests\sessions.py,然后 将所有self.verify=True替换为self.verify=False。
site-packages
pip
site-packages\pip\_vendor\requests\sessions.py
self.verify=True
self.verify=False
版本:
第一个fix选项中的主机名参数错误。在
pip install upgrade pip trusted-host pypi.python.org trusted-host files.pythonhosted.org
图像
pip is configured with locations that require...
顶部的警告消息表示您在与PyPI通信时遇到问题。在请尝试:
通过
pip install upgrade pip trusted-host pipi.org trusted-host files.pythonhosted.org
在pip模块中禁用SSL验证。 在
site-packages
中的pip
模块中,打开site-packages\pip\_vendor\requests\sessions.py
,然后 将所有self.verify=True
替换为self.verify=False
。版本:
第一个fix选项中的主机名参数错误。在
pip install upgrade pip trusted-host pypi.python.org trusted-host files.pythonhosted.org
升级您的pip相关问题 更多 >
编程相关推荐