-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing the package messes up pymongo #29
Comments
Yes, there seem to have a serious conflict here. Even though this might be a strange choice by MongoDB and not the fault of this library, there are a huge number of people using the mongodb python driver, and changing that may cause serious problems. Yes, changing this might too, but less, and the common good must be considered IMO. There must be some way these two projects can coexist, perhaps they can block each others installations? Please communicate with MongoDB and try to find some solution. |
So you'd be willing to check if Pymongo is installed during the setup of pybson and fail if it is? |
Whoever's most responsive to tickets :P |
Too bad it was me then, as I'm not involved in either project. :-)
|
Umm... I don't have nice idea for this issue until now. |
Now that @nicklasb has come up with the idea of just making sure neither package steps on the toes of the other, would you agree to it? I think it means refusing to install the package if Pymongo is already installed. |
Yep, I will add something like refusing feature or caution statements when install this package. |
Yeah, and a really explanatory error message in addition to the failure Glad to help!
|
@Parkayun can you please tell whats the final fix ? I am still getting the error : |
This project has been for use bson module without mongodb driver. |
Pymongo installs its own bson package directly to site-packages (not into pymongo/bson for some reason). Accidentally installing this package causes pymongo imports like this to fail:
from bson.errors import *
The text was updated successfully, but these errors were encountered: