ValueError: do_handshake_on_connect should not be specified for non-blocking sockets
解决方案:
pip install requests[security](你没看错,就是这样,这里直接抄写,不用改)
然后代码中加入:
from gevent import monkey
monkey.patch_socket()
monkey.patch_ssl()
ValueError: do_handshake_on_connect should not be specified for non-blocking sockets
解决方案:
pip install requests[security](你没看错,就是这样,这里直接抄写,不用改)
然后代码中加入:
from gevent import monkey
monkey.patch_socket()
monkey.patch_ssl()