I'm trying to read a bson file this is my code:
import bsonwith open("D:/rl env/chat_log.bson",'rb') as f: datas = bson.decode_all(f.read())
note that "D:/rl env/chat_log.bson" is my file path.i got below error:
AttributeError: module 'bson' has no attribute 'decode_all'
I must mention that I didn't get any error when I ran this code in google colab.