I am trying to build an application with mongoDB and Python Flask. While running the application, I am getting below error:
ConfigurationError: Server at 127.0.0.1:27017 reports wire version 0, but this version of PyMongo requires at least 2 (MongoDB 2.6).
Can any one help me in this?
Thanks, Balwinder
It runs an older version of MongoDB, so I found an equally old version of pymongo and it worked. min_wire_version was added sometime after the release of Mongo 2.4.14, so I just installed pymongo drivers that were equally as old.
That's it. Everything should work! Show activity on this post. I have a Raspberry Pi 3B with mongo version. It runs an older version of MongoDB, so I found an equally old version of pymongo and it worked. min_wire_version was added sometime after the release of Mongo 2.4.14, so I just installed pymongo drivers that were equally as old.
MongoDB 2.4 reached end of life in March of 2016, MongoDB Node.js 3.x driver dropped support for MongoDB 2.4 or below. Beginning in NoSQLBooster for MongoDB 4.3, versions of MongoDB server prior to version 2.6 are no longer supported. You can download 3.5.7 from the download page which supports MongoDB 2.2-3.4 Hey there!
I have a Raspberry Pi 3B with mongo version. It runs an older version of MongoDB, so I found an equally old version of pymongo and it worked. min_wire_version was added sometime after the release of Mongo 2.4.14, so I just installed pymongo drivers that were equally as old.
It's pretty annoying and weird issue.
But this problem is solved with just downgrading pymongo
library for me.
pip install pymongo==3.4.0
Found answer in this : http://d-prototype.com/archives/10939
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With