Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatterbot error #2357

Open
elieem7 opened this issue Mar 24, 2024 · 1 comment
Open

chatterbot error #2357

elieem7 opened this issue Mar 24, 2024 · 1 comment

Comments

@elieem7
Copy link

elieem7 commented Mar 24, 2024

i was working in a small chat bot project and i installed every packages and library but i have still getting an error.
this is my code:
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
from sqlalchemy import create_engine

bot=ChatBot("Charly",read_only= False,logic_adapters=["chatterbot.logic.BestMatch"])

list_to_train=[
"hello",
"how are you?",
"i am fine and you",
"just fine thanks"
]

list_trainer=ListTrainer(bot)
list_trainer.train(list_to_train)

Créer un moteur sans l'argument convert_unicode

engine = create_engine('sqlite:///your_database.db')

this is the error that i still getting : TypeError: Invalid argument(s) 'convert_unicode' sent to create_engine(), using configuration SQLiteDialect_pysqlite/QueuePool/Engine. Please check that the keyword arguments are appropriate for this combination of components.

@frozenproof
Copy link

You are supposed to use a virtual environment with python 3.7 specifically , this is due to the fact this library is virtually dead , and the packages are too upgraded to run this .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants