当前位置: 移动技术网 > IT编程>脚本编程>Python > MonkeyPatchWarning错误征求解决方案

MonkeyPatchWarning错误征求解决方案

2020年07月07日  | 移动技术网IT编程  | 我要评论
# 报错:MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.
# 报错:
MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. 
It may also silently lead to incorrect behaviour on Python 3.7. 
Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016. 
Modules that had direct imports (NOT patched): 
['_shaded_thriftpy.transport._ssl (/Applications/PyCharm.app/Contents/plugins/python/helpers/third_party/thriftpy/_shaded_thriftpy/transport/_ssl.py)', 
'urllib3.contrib.pyopenssl (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py)']. 
  monkey.patch_all()

还没有解决……

本文地址:https://blog.csdn.net/qq_40678779/article/details/107143752

如您对本文有疑问或者有任何想说的,请 点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网