mongokit icon indicating copy to clipboard operation
mongokit copied to clipboard

pymongo has no master_slave_connection

Open nobsu opened this issue 11 years ago • 5 comments

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

nobsu avatar Apr 11 '15 09:04 nobsu

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.

redlotus avatar Apr 13 '15 04:04 redlotus

The same issue

Windfarer avatar Apr 13 '15 05:04 Windfarer

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

sylvinus avatar Apr 29 '15 05:04 sylvinus

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

sarthakdev90 avatar Dec 28 '15 09:12 sarthakdev90

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

tourist-py avatar Feb 18 '16 04:02 tourist-py