Chatterbot: AttributeError: module 'time' has no attribute 'clock'

Created on 8 Apr 2020  路  2Comments  路  Source: gunthercox/ChatterBot

The clock function was removed from python 3.8 so you need to downgrade to a previous version to run chatterbot.

bug

Most helpful comment

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

All 2 comments

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

This should be fixed as of ChatterBot version 1.0.7

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thedp picture thedp  路  4Comments

AmusingThrone picture AmusingThrone  路  3Comments

filipceglik picture filipceglik  路  3Comments

decode007 picture decode007  路  4Comments

juanpialbano picture juanpialbano  路  4Comments