gevent 错误解决: Monkey-patching outside the main native thread. Some APIs will not be available. Expect a KeyError to be printed at shutdown
错误提示: Monkey-patching outside the main native thread. Some APIs will not be available. Expect a KeyError to be printed at shutdown
参考地址:https://blog.csdn.net/qq_37289115/article/details/106349055
也就是说,我们要先引用多协程模块monkey.patch_all(),再引用别的才行,调整完后运行,问题完美解决,结果如下: