How to Solve NameError: name 'ListTrainer' is not defined -- chatterbot
Solution: Import the 'ListTrainer' module
To Solve the error, add the following line to the top of your code.
from chatterbot.trainers import ListTrainer
For more information:
Python chatterbot ListTrainer