chatterbot utf-8 errors with mysql database - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: chatterbot utf-8 errors with mysql database (/thread-30821.html) |
chatterbot utf-8 errors with mysql database - isolatedastronaut - Nov-08-2020 Hi everyone. In the process to create a chatbot using chatterbot. The issue is when trying to load a sql database for the training process. This is the error that occurs: This is the source code for the training script:from chatterbot.trainers import ListTrainer from talkbot import bot from chatterbot import ChatBot from settings import REDDIT import logging from chatterbot.trainers import ChatterBotCorpusTrainer trainer = ChatterBotCorpusTrainer(bot) trainer.train("C:/Users/ryan/Documents/Code/2015-01.db") |