I want to create a chatbot that is trained through inputs and I want it to make it so that replit db syncs with everyone. But I just can’t do anything… it keeps giving me errors.
Traceback (most recent call last):
File "main.py", line 1, in <module>
from idkwhttph import db
File "/home/runner/QuickScaryGlitch/venv/lib/python3.10/site-packages/replit/__init__.py", line 5, in <module>
from . import web
File "/home/runner/QuickScaryGlitch/venv/lib/python3.10/site-packages/replit/web/__init__.py", line 9, in <module>
from .app import ReplitApp
File "/home/runner/QuickScaryGlitch/venv/lib/python3.10/site-packages/replit/web/app.py", line 90, in <module>
AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
Well, then what are the alternatives? Or the fast alternative ways that I can turn to? I want to sync the data with everyone… But I can’t seem to do anything to the code without solving the error. Sorry for the inconvenience caused! ( or if there is any )