I get some very strange error using MongoKit:
>>> from mongokit import *
Traceback (most recent call last):
File \"\", line 1, in <
As Electro said, it's a Bug.
I used the following dirty little hack to keep my site running until it is fixed:
import sys
import pymongo
import bson.objectid
pymongo.objectid = bson.objectid
sys.modules["pymongo.objectid"] = bson.objectid
It's an error in the dependencies. As of PyMongo 1.11 objectid lives in the bson module, not pymongo.