from chatterbot import ChatBot
chatterbot.trainers.ChatterBotCorpusTrainer'
)
from: can't read /var/mail/chatterbot
VANSH@LAPTOP-A0Q1OIQ:~$
VANSH@LAPTOP-A0Q1OIQ:~$ chatbot = ChatBot(
bash: syntax error near unexpected token `('
VANSH@LAPTOP-A0Q1OIQ:~$ 'Ron Obvious',
Ron Obvious,: command not found
VANSH@LAPTOP-A0Q1OIQ:~$ trainer='chatterbot.trainers.ChatterBotCorpusTrainer'
VANSH@LAPTOP-A0Q1OIQ:~$ )
bash: syntax error near unexpected token `)'
VANSH@LAPTOP-A0Q1OIQ:~$ chatbot.train("chatterbot.corpus.english")
bash: syntax error near unexpected token `"chatterbot.corpus.english"'
VANSH@LAPTOP-A0Q1OIQ:~$ chatbot.train("chatterbot.corpus.english")
bash: syntax error near unexpected token `"chatterbot.corpus.english"'
VANSH@LAPTOP-A0Q1OIQ:~$ chatbot.get_response("Hello, how are you today?")
bash: syntax error near unexpected token `"Hello, how are you today?"'
VANSH@LAPTOP-A0Q1OIQ:~$ chatbot.train("chatterbot.corpus.english")
bash: syntax error near unexpected token `"chatterbot.corpus.english"'
VANSH@LAPTOP-A0Q1OIQ:~$ sphinx-build -b html docs/ build/
sphinx-build: command not found
@vansh215 You should first of all start a python command prompt.
@vansh215 by looking into error console, you are just copy and pasted you code on terminal, that is the reason you are seeing many failures.
To avoid these kind error, open text editor and save it.
VANSH@LAPTOP-A0Q1OIQ:~$vi chatterbot_example.py
or you could launch python interpreter from your terminal
VANSH@LAPTOP-A0Q1OIQ:~$python
past your code here
thank you @vkosuri @Issen007
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
thank you @vkosuri @Issen007