标签: python-3.x mongodb mongodb-query
我正在尝试将数据插入mongodb集合中,但显示错误 pymongo.errors.OperationFailure: Authentication failed
pymongo.errors.OperationFailure: Authentication failed
我正在使用python 3.6
我的代码现在指向集合self.col.insert({"a":"b"})
self.col.insert({"a":"b"})