chatterbot

Installing chatterbot but getting “ERROR: Could not build wheels for spacy which use PEP 517 and cannot be installed directly”

浪尽此生 提交于 2020-01-13 20:24:29
问题 I'm trying to install chatterbot on macOS with python3 -m pip install chatterbot and every time I get the same error during the step "Installing build dependencies ... /" ERROR: Failed building wheel for spacy Running setup.py clean for spacy Failed to build spacy ERROR: Could not build wheels for spacy which use PEP 517 and cannot be installed directly Can someone please help? Installing collected packages: spacy, chatterbot Running setup.py install for spacy ... error ERROR: Complete output

AttributeError: “ 'ChatBot' object has no attribute 'trains' ”

浪尽此生 提交于 2019-12-20 04:54:05
问题 I'm trying to use chatterbot to create a chatbot in telegram and use the function train() to generate the ChatBot but visual code(my editor) and atom can't recognize the library. Before I use pip install chatterbot in cmd and launched: Successfully installed PyYAML-3.13 chatterbot-1.0.4 chatterbot-corpus-1.2.0 mathparse-0.1.2 nltk-3.4 pint-0.9 pymongo-3.7.2 singledispatch-3.4.0.3 sqlalchemy-1.2.18 I tried to re-install the library from cmd in visual code. But don't run the code. The error

I can't install pyaudio on my python? How to do it?

Deadly 提交于 2019-12-17 15:57:25
问题 I have a windows 10 pc and i want to install pyaudio to use it with my chatbot, powered by chatterbot, i try with 2 different ways to install pyaudio. The way is in writing on command prompt python -m pip install PyAudio That is the result: C:\Users\Waaberi>python -m pip install PyAudio Collecting PyAudio Using cached https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz Installing collected packages: PyAudio Running

Error while using chatterbot

喜夏-厌秋 提交于 2019-12-11 02:02:22
问题 I'm trying to make a simple QnA program using Python chatterbot. # -*- coding: utf-8 -*- from chatterbot import ChatBot bot = ChatBot( "SQLMemoryTerminal", storage_adapter='chatterbot.storage.SQLStorageAdapter', logic_adapters=[ { "import_path": "chatterbot.logic.BestMatch", "statement_comparison_function": "chatterbot.comparisons.levenshtein_distance" }, { 'import_path' : 'chatterbot.logic.LowConfidenceAdapter', 'threshold' : 0.3, 'default_response' : "Sorry. I can not find the exact answer.

BestMatchAdapter confuse two different questions with same response

限于喜欢 提交于 2019-12-08 10:50:47
问题 Using the BestMatchAdapter of Chatterbot, it confuses two questions with the same answer. For example, training the ai.yml. What is ai? Artificial Intelligence is the branch of engineering and science devoted to constructing machines that think. What is a joke? Artificial Intelligence is the branch of engineering and science devoted to constructing machines that think. On the otherhand, the following similar questions make much sense in the bot answer: Can you bend? No I can be perpetuated

I can't install pyaudio on my python? How to do it?

Deadly 提交于 2019-11-27 22:27:55
I have a windows 10 pc and i want to install pyaudio to use it with my chatbot, powered by chatterbot, i try with 2 different ways to install pyaudio. The way is in writing on command prompt python -m pip install PyAudio That is the result: C:\Users\Waaberi>python -m pip install PyAudio Collecting PyAudio Using cached https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz Installing collected packages: PyAudio Running setup.py install for PyAudio ... error Complete output from command C:\Users\Waaberi\AppData\Local