Why is PyMongo 3 giving ServerSelectionTimeoutError?

后端 未结 20 1112
我在风中等你
我在风中等你 2020-11-30 01:21

I\'m using:

  • Python 3.4.2
  • PyMongo 3.0.2
  • mongolab running mongod 2.6.9
  • uWSGI 2.0.10
  • CherryPy 3.7.0
  • nginx 1.6.2
20条回答
  •  醉酒成梦
    2020-11-30 02:27

    I fixed it for myself by downgrading from pymongo 3.0 to 2.8. No idea what's going on.

       flask/bin/pip uninstall pymongo
       flask/bin/pip install pymongo==2.8
    

提交回复
热议问题