-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.2
-
Component/s: None
-
None
I installed the version on github using "pip install git+https://github.com/mongodb/motor.git".But when I "import motor" it raise an error.
"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/motor/_init_.py", line 1020, in <module>
class MotorClient(MotorClientBase):
File "/usr/local/lib/python2.7/site-packages/motor/_init.py", line 850, in __new_
new_class_attr = attr.create_attribute(new_class, name)
File "/usr/local/lib/python2.7/site-packages/motor/_init_.py", line 676, in create_attribute
method = getattr(cls._delegate_class_, name)
AttributeError: type object 'MongoClient' has no attribute '_ensure_connected'
"