小樱 发表于 2018/8/30 07:09

Linux部分程序ssl警告错误报错,如何强制禁止https错误输出python2.6

/usr/lib/python2.6/site-packages/urllib3/util/ssl_.py:160: 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/advanced-usage.html#ssl-warnings
InsecurePlatformWarning


pip install requests

实测并没有卵用

参考:https://github.com/plotly/plotly.py/pull/248

页: [1]
查看完整版本: Linux部分程序ssl警告错误报错,如何强制禁止https错误输出python2.6