Open jackywu opened 1 month ago
Hi @jackywu , do you have pymongo
installed for accessing their bson
module?
Although, by looking at your ImportError
, you do have bson
package in your venv. Which is strange to me that SON
class was not able to import.
I just tested the code snippet you provided with a clean Python 3.12 venv and I got no error.
besides, can I set a user and password to protect the connection to the local falt-file db file?
Unfortunately, no. There are no actual server running in between your data to provide such protection.
I guys, I can't find a relevant info for that from docs. how to set the storage engine to 'flat-file' in BSON format ?
and this one raise exception.