关于协程gevent的monkey ssl警告

MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors

原因:
The problem is that you're importing requests *before* you monkey patch.You must monkey patch before importing anything else.
意思就是你需要在导入request库之前monkey.patch_all()

你可能感兴趣的:(关于协程gevent的monkey ssl警告)