AttributeError: module 'bson' has no attribute 'encode'
Opened this issue · 1 comments
David-GERARD commented
The get_adm request is not working properly and returning the error:
AttributeError: module 'bson' has no attribute 'encode'
Could you include a list of the packages and versions needed for the code to run properly?
Best,
David
David-GERARD commented
Alright nervmind, it's because it needed pymongo and not bson. I recommend you include a requirements.txt
file so there is no confusions.