gunthercox / ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
https://chatterbot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14.11k stars 4.44k forks source link

HELP,I can not run this commond " chatbot = ChatBot('Ron Obvious')" #2348

Closed C60boy closed 9 months ago

C60boy commented 9 months ago

Traceback (most recent call last): File "", line 1, in File "D:\python\lib\site-packages\chatterbot\chatterbot.py", line 41, 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 from . import util as _util # noqa File "D:\python\lib\site-packages\sqlalchemy\util__init__.py", line 14, in from ._collections import coerce_generator_arg # noqa File "D:\python\lib\site-packages\sqlalchemy\util_collections.py", line 16, in from .compat import binary_types File "D:\python\lib\site-packages\sqlalchemy\util\compat.py", line 264, in time_func = time.clock AttributeError: module 'time' has no attribute 'clock'

Please help me,thankyou

C60boy commented 9 months ago

my python is 3.8.2