Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

pymongo has no master_slave_connection #241

Open
nobsu opened this issue Apr 11, 2015 · 5 comments
Open

pymongo has no master_slave_connection #241

nobsu opened this issue Apr 11, 2015 · 5 comments

Comments

@nobsu
Copy link

nobsu commented Apr 11, 2015

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
Copy link

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
Copy link

The same issue

@sylvinus
Copy link

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
Copy link

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

@tourist-py
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants