-
Notifications
You must be signed in to change notification settings - Fork 9
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
AttributeError: 'module' object has no attribute 'Connection' #13
Comments
Find a way to fix that. Pull Request above. |
#Examples |
thanks to @val922. Im coming here after reading the Use >>> import pymongo
>>> conn = pymongo.MongoClient('localhost', 27017) #instead of Connection
>>> pymongo.version
'3.6.0' The pymongo api has changed after version |
This was referenced Feb 8, 2018
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have run
python setup.py install
without errors, and thenpython server.py
got me this:I am from Node.js env, so dont know much about Python.
My stack: MacOS 10.11.6, Python 2.7.13, MongoDB v3.2.4
The text was updated successfully, but these errors were encountered: