
Few weeks back I wrote a post Build your first ChatBot in 5 minutes.
That bot was cool and you can talk through terminal. Today, let’s try to bui...
For further actions, you may consider blocking this person and/or reporting abuse
You might enjoy Stream's react components: getstream.io/chat/react-chat/tutor...
We have a lot of AI related tutorials coming up btw. Message me if you're interested in doing some freelance writing.
Great.
You can mail the details at: sahil.rajput.0196@gmail.com
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\chatterbot\chatterbot.py", line 35, in init
self.storage = utils.initialize_class(storage_adapter, **kwargs)
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\chatterbot\utils.py", line 54, in initialize_class
return Class(*args, **kwargs)
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\chatterbot\storage\sql_storage.py", line 22, in init
from sqlalchemy import create_engine
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\sqlalchemy_init.py", line 8, in
from . import util as _util # noqa
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\sqlalchemy\util__init_.py", line 14, in
from ._collections import coerce_generator_arg # noqa
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\sqlalchemy\util_collections.py", line 16, in
from .compat import binary_types
File "C:\Users\sangv\AppData\Local\Programs\Python\Python38\lib\site-packages\sqlalchemy\util\compat.py", line 264, in
time_func = time.clock
AttributeError: module 'time' has no attribute 'clock'
C:\Users\sangv\Desktop>python app.py
Traceback (most recent call last):
File "app.py", line 5, in
from time import clock
ImportError: cannot import name 'clock' from 'time' (unknown location)
C:\Users\sangv\Desktop>python
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
THIS ERROR IS OCCURING WHILE RUNNING
PLEASE TELL ME WHAT SHOULD I DO?
Downgrade to python 3.7 time package does not work in python 3.8
Upgrading to the current version of SQLAlchemy (1.3.18 as of now) fixed the problem
pip install sqlalchemy --upgrade
Nice Explanation Thank You
This error showen here Please help me!
I am having the below error.
Traceback (most recent call last):
File "app.py", line 9, in
bot.set_trainer(ListTrainer)
AttributeError: 'ChatBot' object has no attribute 'set_trainer'
Use
trainer = ChatterBotCorpusTrainer(bot)
trainer.train('chatterbot.corpus.english')
which versions you have used ?
i am getting error while installing chatterbot.
please reply soon.
thank you
stop your antivirus, and start installing the module again
Can you please explain the script???
Can you please explain the code written inside the