When I start Quart without Mongo, every think is fine. But after I start to intergrated Qurat-Moto I have the following error:
AttributeError: module 'quart.json' has no attribute 'JSONEncoder'
I try several Python interpretor: Poetry with Python 3.10, Python 3.10 alone, Python 3.8 alone, I always have this error.
Thanks you for your help.
from quart import Quart
from quart_motor import Motor
app = Quart(__name__)
mongo = Motor(app, uri="mongodb://localhost:27017")
if __name__ == "__main__":
app.run(debug=True)