When inserting into MongoDB, I get the following error message:
pymongo.errors.ConfigurationError: Server at xxxx:xx reports wire version 5, but this version of PyMongo requires at least 6 (MongoDB 3.6).
It seems like pymongo is not compatible with MongoDB. Since i can't update MongoDB, the only solution is to downgrade pymongo. But what version should I use?
pymongo installed 4.0.1
db.version() '3.4.20'