
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
from pymongo import MongoClient
client = MongoClient('mongodb+srv://test:sparta@cluster0.ifw4mjz.mongodb.net/cluster0?retryWrites=true&w=majority')
db = client.dbsparta
doc = {
'name':'bob',
'age':27
}
db.users.insert_one(doc)
그대로 따라한것 같은데 계속 오류가 납니다. ㅜㅜ
