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 1642
没有蜡笔的小新
没有蜡笔的小新 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:46

    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

提交回复
热议问题