Traceback (most recent call last):
File "C:\Users\MYSTIC\Desktop\chatterbot\chatboy.py", line 1, in <module>
from chatterbot import ChatBot
File "C:\Users\MYSTIC\Desktop\chatterbot\chatterbot.py", line 2, in <module>
from chatterbot.storage import StorageAdapter
ModuleNotFoundError: No module named 'chatterbot.storage'; 'chatterbot' is not a package
man i found the solution to the problem
Or try changing ...
time_func = time.process_time ()
insted of .. time_func = time.clock in
C: \ Users \ Admin \ AppData \ Local \ Programs \ Python \ Python38 \ Lib
site-packages \ sqlalchemy \ util \ compat.py
Needed to change time_func code in compat.py file
Time code changed in python 3.8 version
Thank you very much for working with me, thank you very much
My first error started with:
cannot import name 'ListTrainer' from 'chatterBot'
the second one was:
time_func = time.clock
fixed this one and then another similar error appear,
i don't know if something's wrong with packages or something else, i'm so confused and blocked.
I am trying to develop a new python module for video chatting with a bot. (with chatterbot as a dependency)
Downloads: 429 (last 2 days)
''' pip install VideoChatBot '''
''' pip install https://files.pythonhosted.org/packages/5b/cc/9dbb790525fe3daa8f0822e60eec38dfea8af5e33af0334dc66b4a022ac4/VideoChatBot-0.0.2.tar.gz '''
Do contribute on github, let's build it together!
Plz star the repository if you like it .. you can also contribute on github 😁
'Either a statement object or a "text" keyword ' chatterbot.chatterbot.ChatBot.ChatBotException: Either a statement object or a "text" keyword argument is required. Neither was provided.
Hi all. I am having a bug with getting my Chatterbot started. I was wondering if you all could help. I am posting my error message below
File "d:\TwitterBot1\Bot1.py", line 123, in <module>
bot = ChatBot('Bot1')
File "D:\Python\lib\site-packages\chatterbot\chatterbot.py", line 34, in init
self.storage = utils.initialize_class(storage_adapter, kwargs)
File "D:\Python\lib\site-packages\chatterbot\utils.py", line 54, in initialize_class
return Class(*args, kwargs)
File "D:\Python\lib\site-packages\chatterbot\storage\sql_storage.py", line 22, in init
from sqlalchemy import create_engine
File "D:\Python\lib\site-packages\sqlalchemy__init.py", line 8, in <module>
from . import util as _util # noqa
ImportError: cannot import name 'util' from partially initialized module 'sqlalchemy' (most likely due to a circular import) (D:\Python\lib\site-packages\sqlalchemy\init__.py)
Does anyone know the fix to this issue?