我想将 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/