私はmongoDBにFacebookのデータを抽出しようとしています。私はPython 2.7.3とpymongo-3.3.0をLinux環境(RHEL)で使用していますが、データを抽出しているうちに次のエラーが出ます。typeerror:__init __()は予期しないキーワード引数 'timeout'を持っていますpymongo
Exception AttributeError: "'Cursor' object has no attribute '_Cursor__id'" in <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x48fa110>> ignored (<type 'exceptions.TypeError'>, TypeError("__init__() got an unexpected keyword argument 'timeout'",),<traceback object at 0x490a638>)
この問題を解決する方法を教えてください。 collection.findを使用している間