namlook / mongokit

MongoKit framework try to keep its simplicity when you manage mongodb in python. MongoKit was developed to be fast and light with KISS and DRY in mind. MongoKit brings structured schema and validation layer on top of the great pymongo driver. Discuss with us on Google group : http://groups.google.com/group/mongokit or follow the news on Twitter: http://twitter.com/namlook
http://namlook.github.com/mongokit/
Other
677 stars 132 forks source link

pymongo has no master_slave_connection #241

Open nobsu opened 9 years ago

nobsu commented 9 years ago
from mongokit import Connection

File "/data/pyenv/dev_env/local/lib/python2.7/site-packages/mongokit-0.9.1dev_20150411-py2.7.egg/mongokit/init.py", line 43, in from mongokit.master_slave_connection import MasterSlaveConnection File "/data/pyenv/dev_env/local/lib/python2.7/site-packages/mongokit-0.9.1dev_20150411-py2.7.egg/mongokit/master_slave_connection.py", line 7, in from pymongo.master_slave_connection import MasterSlaveConnection as PymongoMasterSlaveConnection ImportError: No module named master_slave_connection

redlotus commented 9 years ago

I got this too. When you update mongokit, pymongo also updates to version 3. Unfortunately, pymongo 3.0 is not backwards-compatible, so mongokit does not work anymore. You have to rollback pymongo to 2.8 and mongokit will just work fine. Sorry for bad english.

Windfarer commented 9 years ago

The same issue

sylvinus commented 9 years ago

We faced the same issue and felt that MongoKit wasn't going to be able to update to pymongo 3.0 soon, so we started this: https://github.com/pricingassistant/mongokat

sarthakdev90 commented 8 years ago

Are there any plans for mongokit to be compatible with latest pymongo?

tourist-py commented 8 years ago

hope someone can update mongokit to support python3 and lastest pymongo(3.2)