pymongo.errors.CursorNotFound: Cursor not found

一.解决办法

find() no_cursor_timeout参数设置成 = True,表示游标连接不会主动关闭(需要手动关闭)

table_1.find({'status': {"$exists": False}},no_cursor_timeout = True)
原文地址:https://www.cnblogs.com/pythonywy/p/14593716.html