ConfigurationError: Server at 127.0.0.1:27017 reports wire version 0, but this version of PyMongo requires at least 2 (MongoDB 2.6)

前端 未结 5 1644
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 00:26

I am trying to build an application with mongoDB and Python Flask. While running the application, I am getting below error:

ConfigurationError: Server

5条回答
  •  迷失自我
    2021-01-05 00:49

    This works for me:

    1. sudo pip3 uninstall pymongo

    2. sudo apt-get install python3-pymongo

    I hope that works for someone else, regards.

提交回复
热议问题