Can't connect to MongoDB 2.0.5 database with pymongo 2.2

后端 未结 1 1614
醉话见心
醉话见心 2021-01-17 18:43

I\'ve been stuck with diagnosing this for a few hours now and thought I\'d see if any pymongo experts out there have any ideas:

The following line of code:

相关标签:
1条回答
  • 2021-01-17 19:42

    The solution to this problem was not good news for pip: I had to uninstall pymongo and bson, then reinstall bson, then pymongo. So it looks like the order of installation is actually important!

    0 讨论(0)
提交回复
热议问题