gpt4 book ai didi

python - 不安全平台警告 : A true SSLContext object is not available

转载 作者:太空宇宙 更新时间:2023-11-03 13:33:24 25 4
gpt4 key购买 nike

我想将 python 项目从 CentOS 设置到 Windows。当“pip install requirement.txt”出现以下错误时:

c:\python27\lib\site-
packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py:122:
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.

InsecurePlatformWarning
Could not find a version that satisfies the requirement requirements.txt (from versions: )
No matching distribution found for requirements.txt

请帮助/指导我。我对这些东西很陌生

最佳答案

尝试从 requirements.txt 中一个一个地安装包,当您找到引发此错误的包时,尝试为该特定包寻找解决方案。

关于python - 不安全平台警告 : A true SSLContext object is not available,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47634848/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com