python 连接 mogodb 报错 pymongo.errors.OperationFailure: Another user is already authenticated to this database. You must logout first. 解决

 

本周项目遇到 pymongo.errors.OperationFailure: Another user is already authenticated to this database. You must logout first. 问题 查了好久 终于找到问题.

谷歌找到结果

 

 

解决办法 是因为pymongo 的版本太高 回退到以前的版本就好了

 

 

 

posted @ 2019-11-11 09:40  wzqwer  阅读(1282)  评论(4编辑  收藏  举报