I am using MongoDB 2.6.2 and using python PyMongo to connect. I am getting error as
Error Server at 172.24.16.71:27017 reports wire version 2, but this version of PyMongo requires at least 6 (MongoDB 3.6).
Can someone please help me to know how to access MongoDB 2.6.2 using python .