ChatterBot is a machine learning, conversational dialog engine for creating chat bots

Overview

ChatterBot: Machine learning in Python

ChatterBot

ChatterBot is a machine-learning based conversational dialog engine build in Python which makes it possible to generate responses based on collections of known conversations. The language independent design of ChatterBot allows it to be trained to speak any language.

Package Version Python 3.6 Django 2.0 Requirements Status Build Status Documentation Status Coverage Status Code Climate Join the chat at https://gitter.im/chatterbot/Lobby

An example of typical input would be something like this:

user: Good morning! How are you doing?
bot: I am doing very well, thank you for asking.
user: You're welcome.
bot: Do you like hats?

How it works

An untrained instance of ChatterBot starts off with no knowledge of how to communicate. Each time a user enters a statement, the library saves the text that they entered and the text that the statement was in response to. As ChatterBot receives more input the number of responses that it can reply and the accuracy of each response in relation to the input statement increase. The program selects the closest matching response by searching for the closest matching known statement that matches the input, it then returns the most likely response to that statement based on how frequently each response is issued by the people the bot communicates with.

Installation

This package can be installed from PyPi by running:

pip install chatterbot

Basic Usage

from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer

chatbot = ChatBot('Ron Obvious')

# Create a new trainer for the chatbot
trainer = ChatterBotCorpusTrainer(chatbot)

# Train the chatbot based on the english corpus
trainer.train("chatterbot.corpus.english")

# Get a response to an input statement
chatbot.get_response("Hello, how are you today?")

Training data

ChatterBot comes with a data utility module that can be used to train chat bots. At the moment there is training data for over a dozen languages in this module. Contributions of additional training data or training data in other languages would be greatly appreciated. Take a look at the data files in the chatterbot-corpus package if you are interested in contributing.

from chatterbot.trainers import ChatterBotCorpusTrainer

# Create a new trainer for the chatbot
trainer = ChatterBotCorpusTrainer(chatbot)

# Train based on the english corpus
trainer.train("chatterbot.corpus.english")

# Train based on english greetings corpus
trainer.train("chatterbot.corpus.english.greetings")

# Train based on the english conversations corpus
trainer.train("chatterbot.corpus.english.conversations")

Corpus contributions are welcome! Please make a pull request.

Documentation

View the documentation for ChatterBot on Read the Docs.

To build the documentation yourself using Sphinx, run:

sphinx-build -b html docs/ build/

Examples

For examples, see the examples directory in this project's git repository.

There is also an example Django project using ChatterBot, as well as an example Flask project using ChatterBot.

History

See release notes for changes https://github.com/gunthercox/ChatterBot/releases

Development pattern for contributors

  1. Create a fork of the main ChatterBot repository on GitHub.
  2. Make your changes in a branch named something different from master, e.g. create a new branch my-pull-request.
  3. Create a pull request.
  4. Please follow the Python style guide for PEP-8.
  5. Use the projects built-in automated testing. to help make sure that your contribution is free from errors.

License

ChatterBot is licensed under the BSD 3-clause license.

Comments
  • 'ChatBot' object has no attribute 'find'

    'ChatBot' object has no attribute 'find'

    File "/usr/local/lib/python3.6/dist-packages/chatterbot/trainers.py", line 48, in get_or_create statement = self.storage.find(temp_statement.text) AttributeError: 'ChatBot' object has no attribute 'find'

    why?

    answered 
    opened by azzhu 43
  • Transfer database from JSON to MongoDB

    Transfer database from JSON to MongoDB

    I have a JSON database with 1000+ responses, and even after installing python-cjson it's still pretty slow. From what I understand, MongoDB is much faster. Is this correct, and is there an easy way to switch between the two

    opened by controversial 42
  • Not able to import chatterbot after successful installation

    Not able to import chatterbot after successful installation

    code :

    from chatterbot import ChatBot
    chatbot = ChatBot(
        'Ron Obvious',
        trainer='chatterbot.trainers.ChatterBotCorpusTrainer'
    )
    chatbot.train("chatterbot.corpus.english")
    chatbot.get_response("Hello, how are you today?")
    

    error :

    python test.py 
    Traceback (most recent call last):
      File "test.py", line 1, in <module>
        from chatterbot import ChatBot
    ImportError: No module named chatterbot
    
    opened by harshalgaydhankar 38
  • Postgres storage adapter

    Postgres storage adapter

    Hi,

    Has anyone come up with a storage adapter for Postgres.

    I would like to have postgres storage adapter rather than SQL and Mongodb. But, I am really struggling to create one. Can someone please help me with this.

    If all good, I will prepare the documentation for this.

    Many thanks in advance.

    storage adapter 
    opened by Dulce06 32
  • I am getting error while installing chatterbot. Please help me out ASAP . Copied the entire thing from CMD

    I am getting error while installing chatterbot. Please help me out ASAP . Copied the entire thing from CMD

    C:\Users\shubbane\Desktop\Chatbot_Project-master>pip install chatterbot Collecting chatterbot Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509cf5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl Collecting nltk<4.0,>=3.2 (from chatterbot) Using cached https://files.pythonhosted.org/packages/6f/ed/9c755d357d33bc1931e157f537721efb5b88d2c583fe593cc09603076cc3/nltk-3.4.zip Collecting pymongo<4.0,>=3.3 (from chatterbot) Using cached https://files.pythonhosted.org/packages/1e/4e/bec80279eae8fc279316d73d3f8d0dc8bc088f122ea1444ef8fb3bb93ced/pymongo-3.7.2-cp37-cp37m-win32.whl Collecting spacy<2.2,>=2.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/77/f3/eb5aece989ecca541c4b5a439cb8a86fe5254b1521925b547609fb3aaf64/spacy-2.1.3.tar.gz Installing build dependencies ... error Complete output from command c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe c:\users\shubbane\appdata\local\programs\python\python37-32\lib\site-packages\pip install --ignore-installed --no-user --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel>0.32.0.<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.0.0.dev6: Collecting setuptools Using cached https://files.pythonhosted.org/packages/44/56/75e64a8fbbe9e0bd30cfdd58ca1856bc0dc15a43e41504a58d8373f34213/setuptools-40.9.0-py2.py3-none-any.whl Collecting wheel>0.32.0.<0.33.0 Using cached https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl Collecting Cython Using cached https://files.pythonhosted.org/packages/0a/80/519ca446605826488935c9a2be44bca604d640786b0c3308abd9c9f28002/Cython-0.29.6-cp37-cp37m-win32.whl Collecting cymem<2.1.0,>=2.0.2 Using cached https://files.pythonhosted.org/packages/eb/cb/4ff546a491f764f67284572d25c57927e3f17103adf979bc99d90128f3eb/cymem-2.0.2-cp37-cp37m-win32.whl Collecting preshed<2.1.0,>=2.0.1 Using cached https://files.pythonhosted.org/packages/00/52/ef641ebb40e287b95e9742e7f3120dca0350d92b3d0ef050e5133acf8931/preshed-2.0.1-cp37-cp37m-win32.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://files.pythonhosted.org/packages/22/e9/411be1845f1ac07ae3bc40a4b19ba401819baed4fa63b4f5ef28b2300eb4/murmurhash-1.0.2.tar.gz Collecting thinc==7.0.0.dev6 Using cached https://files.pythonhosted.org/packages/f2/bf/3685c4718b547583bfe3a3d54db8f0f992e30b49db1ecbce8e5d8a4c7604/thinc-7.0.0.dev6.tar.gz Collecting blis<0.3.0,>=0.2.1 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz Collecting thinc_gpu_ops<0.1.0,>=0.0.1 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/a4/ad/11ab80a24bcedd7dd0cfabaedba2ceaeca11f1aaeeff432a3d2e63ca7d02/thinc_gpu_ops-0.0.4.tar.gz Collecting numpy>=1.7.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/61/be/b4d697563d4a211596a350414a87612204a8bb987c4c1b34598cd4904f55/numpy-1.16.2-cp37-cp37m-win32.whl Collecting wrapt<1.11.0,>=1.10.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz Collecting plac<1.0.0,>=0.9.6 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl Collecting tqdm<5.0.0,>=4.10.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl Collecting six<2.0.0,>=1.10.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting wasabi<1.1.0,>=0.0.9 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/76/6c/0376977df1ba9f0ec27835d80456d9284c79737cb5205649451db1181f01/wasabi-0.2.1-py3-none-any.whl Collecting srsly<1.1.0,>=0.0.5 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/05/df/6ad3ad1d2747b0ef17e674c8cf7f0cb5e5c0056ee6e9b2ebc88e55871cd4/srsly-0.0.5.tar.gz Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, thinc-gpu-ops, wrapt, plac, tqdm, six, wasabi, srsly, thinc Running setup.py install for murmurhash: started Running setup.py install for murmurhash: finished with status 'error' Complete output from command c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\shubbane\AppData\Local\Temp\pip-install-05kh0ds3\murmurhash\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\shubbane\AppData\Local\Temp\pip-record-jsl9w9wk\install-record.txt --single-version-externally-managed --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\overlay --compile: running install running build running build_py creating build creating build\lib.win32-3.7 creating build\lib.win32-3.7\murmurhash copying murmurhash\about.py -> build\lib.win32-3.7\murmurhash copying murmurhash_init_.py -> build\lib.win32-3.7\murmurhash creating build\lib.win32-3.7\murmurhash\tests copying murmurhash\tests\test_against_mmh3.py -> build\lib.win32-3.7\murmurhash\tests copying murmurhash\tests\test_import.py -> build\lib.win32-3.7\murmurhash\tests copying murmurhash\tests_init_.py -> build\lib.win32-3.7\murmurhash\tests copying murmurhash\mrmr.pyx -> build\lib.win32-3.7\murmurhash copying murmurhash\mrmr.pxd -> build\lib.win32-3.7\murmurhash copying murmurhash_init_.pxd -> build\lib.win32-3.7\murmurhash creating build\lib.win32-3.7\murmurhash\include creating build\lib.win32-3.7\murmurhash\include\murmurhash copying murmurhash\include\murmurhash\MurmurHash2.h -> build\lib.win32-3.7\murmurhash\include\murmurhash copying murmurhash\include\murmurhash\MurmurHash3.h -> build\lib.win32-3.7\murmurhash\include\murmurhash running build_ext building 'murmurhash.mrmr' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

      ----------------------------------------
    

    Command "c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\shubbane\AppData\Local\Temp\pip-install-05kh0ds3\murmurhash\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\shubbane\AppData\Local\Temp\pip-record-jsl9w9wk\install-record.txt --single-version-externally-managed --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\overlay --compile" failed with error code 1 in C:\Users\shubbane\AppData\Local\Temp\pip-install-05kh0ds3\murmurhash\


    Command "c:\users\shubbane\appdata\local\programs\python\python37-32\python.exe c:\users\shubbane\appdata\local\programs\python\python37-32\lib\site-packages\pip install --ignore-installed --no-user --prefix C:\Users\shubbane\AppData\Local\Temp\pip-build-env-n9wvlta4\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel>0.32.0.<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.0.0.dev6" failed with error code 1 in None

    opened by sshubhoo 27
  • Not able to import the chatbot package please help!

    Not able to import the chatbot package please help!

    me too facing the same issue!!!

    File "C:/Users/Priyanka Baviskar/Documents/py_2/chatbot_demo.py", line 8, in from chatterbot import ChatBot

    File "chatterbot.py", line 7, in

    ImportError: cannot import name ChatBot

    and yes I don't have any directories named utils and adapters checked that approach too!! please help.

    image image

    I am using anaconda 2 for python 2.7. your help would be really appreciated Thank You.

    opened by priyanka22kar 26
  • ImportError: cannot import name 'ChatBot'

    ImportError: cannot import name 'ChatBot'

    @gunthercox Everytime I'm running this code it is showing me this error.. ImportError: cannot import name 'ChatBot'

    here's the code..

    from chatterbot import ChatBot from chatterbot.trainers import ListTrainers import os

    bot= ChatBot('Bot') bot.set_trainers(ListTrainers)

    for files in os.listdir('F:\Project Data\chatterbot-corpus-master\chatterbot_corpus\data\english'): data=open('F:\Project Data\chatterbot-corpus-master\chatterbot_corpus\data\english'+files,'r').readlines() bot.train(data)

    while True: message=input("USER:") if(message.strip() != 'bye'): reply=bot.get_response(message) print("BOT:" + reply) if(message.strip() == 'bye'): print("BOT:BYE :-), hope to see you again") break

    opened by jayeshsk 24
  • how can i import data from .txt file. and train that data.

    how can i import data from .txt file. and train that data.

    from chatterbot.trainers import ListTrainer
    from chatterbot import ChatBot
    
    f = open('dataq2.txt','r').read()
    
    chatbot = ChatBot(
        "Terminal",
        storage_adapter="chatterbot.storage.SQLStorageAdapter", #allows the chat bot to connect to SQL databases
        input_adapter="chatterbot.input.TerminalAdapter", #allows a user to type into their terminal to communicate with the chat bot.
        output_adapter="chatterbot.output.TerminalAdapter", # print chatbot responce
        database="../database.db"   # specify the path to the database that the chat bot will use
    )
    
    chatbot.set_trainer(ListTrainer)
    chatbot.train(f)
    
    
    print("Type your question here...")
    while True:
        try:
            chatbot_input = chatbot.get_response(None)
        # Press ctrl-c or ctrl-d to exit
        except (KeyboardInterrupt, EOFError, SystemExit):
            break
    

    this is my code. it is running but not giving proper answer (which is stored in dataq2.txt ) it do not train data which is in dataq2.txt file. or may be it trains that but can not store that. dataq2.txt have QA data. what i want is if I write 1st line than it should reply line 2.

    dataq2 is in the form of this

    Q:hello
    A:hi
    Q:who
    A:girl 
    or
    Q:
    hello
    A:
    hi
    Q:
    who
    A:
    girl
    

    here if i input hello than it should reply hi. please help me

    question answered 
    opened by PoojaPatel05 24
  • Feedback example

    Feedback example

    I trying to run example for feedback, with this code:

    bot = ChatBot(
        'test',
        storage_adapter='chatterbot.storage.SQLStorageAdapter',
        logic_adapters=[
            'chatterbot.logic.BestMatch'
        ],
        input_adapter='chatterbot.input.TerminalAdapter',
        output_adapter='chatterbot.output.TerminalAdapter',
        database="../database.db",
    )
    DEFAULT_SESSION_ID = bot.default_session.id
    def get_feedback():
        from chatterbot.utils import input_function
        text = input_function()
    
        if 'yes' in text.lower():
            return True
        elif 'no' in text.lower():
            return False
        else:
            print('Please type either "Yes" or "No"')
            return get_feedback()
    print('Type something to begin...')
    while True:
        try:
            input_statement = bot.input.process_input_statement()
            statement, response = bot.generate_response(input_statement, DEFAULT_SESSION_ID)
            print('\n Is "{}" this a coherent response to "{}"? \n'.format(response, input_statement))
            if get_feedback():
                bot.learn_response(response, input_statement)
            bot.output.process_response(response)
            bot.storage.add_to_converation(bot.default_session, statement, response)
        except (KeyboardInterrupt, EOFError, SystemExit):
            break
    

    And I got this error:

    Type something to begin...
    hola
    
     Is "hola" this a coherent response to "hola"? 
    
    yes
    hola
    Traceback (most recent call last):
      File "feedback.py", line 61, in <module>
        bot.storage.add_to_converation(bot.default_session, statement, response)
    **AttributeError: 'SQLStorageAdapter' object has no attribute 'add_to_converation'`**
    
    opened by nalancer08 24
  • Following error occurs while trying to install chattbot package

    Following error occurs while trying to install chattbot package

    Microsoft Windows [Version 10.0.17134.648] (c) 2018 Microsoft Corporation. All rights reserved.

    C:\Users\chang>pip install chatterbot Collecting chatterbot Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509cf5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl Collecting mathparse<0.2,>=0.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/c3/e5/4910fb85950cb960fcf3f5aabe1c8e55f5c9201788a1c1302b570a7e1f84/mathparse-0.1.2-py3-none-any.whl Collecting spacy<2.2,>=2.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/77/f3/eb5aece989ecca541c4b5a439cb8a86fe5254b1521925b547609fb3aaf64/spacy-2.1.3.tar.gz Installing build dependencies ... error Complete output from command c:\users\chang\appdata\local\programs\python\python37-32\python.exe c:\users\chang\appdata\local\programs\python\python37-32\lib\site-packages\pip install --ignore-installed --no-user --prefix C:\Users\chang\AppData\Local\Temp\pip-build-env-tz4hntbh\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel>0.32.0.<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.0.0.dev6: Collecting setuptools Using cached https://files.pythonhosted.org/packages/c8/b0/cc6b7ba28d5fb790cf0d5946df849233e32b8872b6baca10c9e002ff5b41/setuptools-41.0.0-py2.py3-none-any.whl Collecting wheel>0.32.0.<0.33.0 Using cached https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl Collecting Cython Using cached https://files.pythonhosted.org/packages/0a/80/519ca446605826488935c9a2be44bca604d640786b0c3308abd9c9f28002/Cython-0.29.6-cp37-cp37m-win32.whl Collecting cymem<2.1.0,>=2.0.2 Using cached https://files.pythonhosted.org/packages/eb/cb/4ff546a491f764f67284572d25c57927e3f17103adf979bc99d90128f3eb/cymem-2.0.2-cp37-cp37m-win32.whl Collecting preshed<2.1.0,>=2.0.1 Using cached https://files.pythonhosted.org/packages/00/52/ef641ebb40e287b95e9742e7f3120dca0350d92b3d0ef050e5133acf8931/preshed-2.0.1-cp37-cp37m-win32.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://files.pythonhosted.org/packages/22/e9/411be1845f1ac07ae3bc40a4b19ba401819baed4fa63b4f5ef28b2300eb4/murmurhash-1.0.2.tar.gz Collecting thinc==7.0.0.dev6 Using cached https://files.pythonhosted.org/packages/f2/bf/3685c4718b547583bfe3a3d54db8f0f992e30b49db1ecbce8e5d8a4c7604/thinc-7.0.0.dev6.tar.gz Collecting blis<0.3.0,>=0.2.1 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz Collecting thinc_gpu_ops<0.1.0,>=0.0.1 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/a4/ad/11ab80a24bcedd7dd0cfabaedba2ceaeca11f1aaeeff432a3d2e63ca7d02/thinc_gpu_ops-0.0.4.tar.gz Collecting numpy>=1.7.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/61/be/b4d697563d4a211596a350414a87612204a8bb987c4c1b34598cd4904f55/numpy-1.16.2-cp37-cp37m-win32.whl Collecting wrapt<1.11.0,>=1.10.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz Collecting plac<1.0.0,>=0.9.6 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl Collecting tqdm<5.0.0,>=4.10.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl Collecting six<2.0.0,>=1.10.0 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting wasabi<1.1.0,>=0.0.9 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/76/6c/0376977df1ba9f0ec27835d80456d9284c79737cb5205649451db1181f01/wasabi-0.2.1-py3-none-any.whl Collecting srsly<1.1.0,>=0.0.5 (from thinc==7.0.0.dev6) Using cached https://files.pythonhosted.org/packages/05/df/6ad3ad1d2747b0ef17e674c8cf7f0cb5e5c0056ee6e9b2ebc88e55871cd4/srsly-0.0.5.tar.gz Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, thinc-gpu-ops, wrapt, plac, tqdm, six, wasabi, srsly, thinc Running setup.py install for murmurhash: started Running setup.py install for murmurhash: finished with status 'done' Running setup.py install for blis: started Running setup.py install for blis: finished with status 'error' Complete output from command c:\users\chang\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\chang\AppData\Local\Temp\pip-install-n6ax73kj\blis\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\chang\AppData\Local\Temp\pip-record-m4uuuj6t\install-record.txt --single-version-externally-managed --prefix C:\Users\chang\AppData\Local\Temp\pip-build-env-tz4hntbh\overlay --compile: BLIS_COMPILER? None running install running build running build_py creating build creating build\lib.win32-3.7 creating build\lib.win32-3.7\blis copying blis\about.py -> build\lib.win32-3.7\blis copying blis\benchmark.py -> build\lib.win32-3.7\blis copying blis_init_.py -> build\lib.win32-3.7\blis creating build\lib.win32-3.7\blis\tests copying blis\tests\common.py -> build\lib.win32-3.7\blis\tests copying blis\tests\test_dotv.py -> build\lib.win32-3.7\blis\tests copying blis\tests\test_gemm.py -> build\lib.win32-3.7\blis\tests copying blis\tests_init_.py -> build\lib.win32-3.7\blis\tests copying blis\cy.pyx -> build\lib.win32-3.7\blis copying blis\py.pyx -> build\lib.win32-3.7\blis copying blis\cy.pxd -> build\lib.win32-3.7\blis copying blis_init_.pxd -> build\lib.win32-3.7\blis running build_ext error: [WinError 2] The system cannot find the file specified msvc py_compiler msvc {'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUAL_ENV': '/home/matt/repos/cython-blis/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/home/matt/repos/cython-blis/env3.6/bin/python'} clang -c C:\Users\chang\AppData\Local\Temp\pip-install-n6ax73kj\blis\blis_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\chang\AppData\Local\Temp\tmpc0ezelvs\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\chang\AppData\Local\Temp\pip-install-n6ax73kj\blis\blis_src\include\windows-x86_64

      ----------------------------------------
    

    Command "c:\users\chang\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\chang\AppData\Local\Temp\pip-install-n6ax73kj\blis\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\chang\AppData\Local\Temp\pip-record-m4uuuj6t\install-record.txt --single-version-externally-managed --prefix C:\Users\chang\AppData\Local\Temp\pip-build-env-tz4hntbh\overlay --compile" failed with error code 1 in C:\Users\chang\AppData\Local\Temp\pip-install-n6ax73kj\blis\


    Command "c:\users\chang\appdata\local\programs\python\python37-32\python.exe c:\users\chang\appdata\local\programs\python\python37-32\lib\site-packages\pip install --ignore-installed --no-user --prefix C:\Users\chang\AppData\Local\Temp\pip-build-env-tz4hntbh\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel>0.32.0.<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.0.0.dev6" failed with error code 1 in None

    C:\Users\chang>

    Please help

    answered 
    opened by changchethu 23
  • error with

    error with "pip install chatterbot" python 3.8.1 32 bit

    This is the error display

    C:\>pip` install chatterbot
    Collecting chatterbot
      Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB)
    Collecting pyyaml<5.2,>=5.1
      Using cached PyYAML-5.1.2.tar.gz (265 kB)
    Collecting mathparse<0.2,>=0.1
      Using cached mathparse-0.1.2-py3-none-any.whl (7.2 kB)
    Collecting pymongo<4.0,>=3.3
      Using cached pymongo-3.10.1-cp38-cp38-win32.whl (349 kB)
    Requirement already satisfied: nltk<4.0,>=3.2 in c:\python38-32\lib\site-packages (from chatterbot) (3.4.5)
    Collecting pint>=0.8.1
      Using cached Pint-0.11-py2.py3-none-any.whl (186 kB)
    Collecting pytz
      Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB)
    Collecting spacy<2.2,>=2.1
      Using cached spacy-2.1.9.tar.gz (30.7 MB)
      Installing build dependencies ... error
      ERROR: Command errored out with exit status 1:
       command: 'c:\python38-32\python.exe' 'c:\python38-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-build-env-4ry6vq4a\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0'
           cwd: None
      Complete output (66 lines):
      Collecting setuptools
        Using cached setuptools-45.2.0-py3-none-any.whl (584 kB)
      Collecting wheel<0.33.0,>0.32.0
        Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB)
      Collecting Cython
        Using cached Cython-0.29.15-cp38-cp38-win32.whl (1.6 MB)
      Collecting cymem<2.1.0,>=2.0.2
        Using cached cymem-2.0.3.tar.gz (51 kB)
      Collecting preshed<2.1.0,>=2.0.1
        Using cached preshed-2.0.1.tar.gz (113 kB)
      Collecting murmurhash<1.1.0,>=0.28.0
        Using cached murmurhash-1.0.2.tar.gz (35 kB)
      Collecting thinc<7.1.0,>=7.0.8
        Using cached thinc-7.0.8.tar.gz (1.9 MB)
      Collecting blis<0.3.0,>=0.2.1
        Using cached blis-0.2.4.tar.gz (1.5 MB)
      Collecting wasabi<1.1.0,>=0.0.9
        Using cached wasabi-0.6.0-py3-none-any.whl (20 kB)
      Collecting srsly<1.1.0,>=0.0.6
        Using cached srsly-1.0.1.tar.gz (192 kB)
      Collecting numpy>=1.7.0
        Using cached numpy-1.18.1-cp38-cp38-win32.whl (10.8 MB)
      Collecting plac<1.0.0,>=0.9.6
        Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
      Collecting tqdm<5.0.0,>=4.10.0
        Using cached tqdm-4.43.0-py2.py3-none-any.whl (59 kB)
      Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, wasabi, srsly, plac, tqdm, thinc
          Running setup.py install for cymem: started
          Running setup.py install for cymem: finished with status 'done'
          Running setup.py install for preshed: started
          Running setup.py install for preshed: finished with status 'done'
          Running setup.py install for murmurhash: started
          Running setup.py install for murmurhash: finished with status 'done'
          Running setup.py install for blis: started
          Running setup.py install for blis: finished with status 'error'
          ERROR: Command errored out with exit status 1:
           command: 'c:\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Sergio Lopez\\AppData\\Local\\Temp\\pip-install-9j8tfmi8\\blis\\setup.py'"'"'; __file__='"'"'C:\\Users\\Sergio Lopez\\AppData\\Local\\Temp\\pip-install-9j8tfmi8\\blis\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-record-ps2744bk\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-build-env-4ry6vq4a\overlay' --compile --install-headers 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-build-env-4ry6vq4a\overlay\Include\blis'
               cwd: C:\Users\Sergio Lopez\AppData\Local\Temp\pip-install-9j8tfmi8\blis\
          Complete output (25 lines):
          BLIS_COMPILER? None
          running install
          running build
          running build_py
          creating build
          creating build\lib.win32-3.8
          creating build\lib.win32-3.8\blis
          copying blis\about.py -> build\lib.win32-3.8\blis
          copying blis\benchmark.py -> build\lib.win32-3.8\blis
          copying blis\__init__.py -> build\lib.win32-3.8\blis
          creating build\lib.win32-3.8\blis\tests
          copying blis\tests\common.py -> build\lib.win32-3.8\blis\tests
          copying blis\tests\test_dotv.py -> build\lib.win32-3.8\blis\tests
          copying blis\tests\test_gemm.py -> build\lib.win32-3.8\blis\tests
          copying blis\tests\__init__.py -> build\lib.win32-3.8\blis\tests
          copying blis\cy.pyx -> build\lib.win32-3.8\blis
          copying blis\py.pyx -> build\lib.win32-3.8\blis
          copying blis\cy.pxd -> build\lib.win32-3.8\blis
          copying blis\__init__.pxd -> build\lib.win32-3.8\blis
          running build_ext
          error: [WinError 2] El sistema no puede encontrar el archivo especificado
          msvc
          py_compiler msvc
          {'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUAL_ENV': '/home/matt/repos/cython-blis/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/home/matt/repos/cython-blis/env3.6/bin/python'}
          clang -c C:\Users\Sergio Lopez\AppData\Local\Temp\pip-install-9j8tfmi8\blis\blis\_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\SERGIO~1\AppData\Local\Temp\tmpuzs2uxyo\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\Sergio Lopez\AppData\Local\Temp\pip-install-9j8tfmi8\blis\blis\_src\include\windows-x86_64
          ----------------------------------------
      ERROR: Command errored out with exit status 1: 'c:\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Sergio Lopez\\AppData\\Local\\Temp\\pip-install-9j8tfmi8\\blis\\setup.py'"'"'; __file__='"'"'C:\\Users\\Sergio Lopez\\AppData\\Local\\Temp\\pip-install-9j8tfmi8\\blis\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-record-ps2744bk\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-build-env-4ry6vq4a\overlay' --compile --install-headers 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-build-env-4ry6vq4a\overlay\Include\blis' Check the logs for full command output.
      ----------------------------------------
    ERROR: Command errored out with exit status 1: 'c:\python38-32\python.exe' 'c:\python38-32\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Sergio Lopez\AppData\Local\Temp\pip-build-env-4ry6vq4a\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0' Check the logs for full command output.
    
    opened by SergioLopezJAAS 22
  • Please archive the repo/package if it is no longer being maintained

    Please archive the repo/package if it is no longer being maintained

    The last contribution was made in june last year image

    This is a serious hindrance to anyone who is using it on 3.9 and up versions, since spacy support is not implemented, there are issues with sqlalchemy,etc

    opened by therealcyber71 1
  • CVE-2007-4559 Patch

    CVE-2007-4559 Patch

    Patching CVE-2007-4559

    Hi, we are security researchers from the Advanced Research Center at Trellix. We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this blog.

    If you have further questions you may contact us through this projects lead researcher Kasimir Schulz.

    opened by TrellixVulnTeam 0
  • I am not sure what is wrong but when I run it this is what appears.

    I am not sure what is wrong but when I run it this is what appears.

    Traceback (most recent call last): File "c:\Users\isaig\Dropbox\My PC (DESKTOP-K5PUFQD)\Documents\BYUI\2022\Fall\AI Society\chatbot\chatbot.py", line 5, in my_bot = ChatBot(name='Chatbot', read_only=True, File "C:\Users\isaig\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chatterbot\chatterbot.py", line 28, in init
    self.storage = utils.initialize_class(storage_adapter, **kwargs) File "C:\Users\isaig\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chatterbot\utils.py", line 33, in initialize_class
    return Class(*args, **kwargs) File "C:\Users\isaig\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chatterbot\storage\sql_storage.py", line 46, in init if not self.engine.dialect.has_table(self.engine, 'Statement'): File "C:\Users\isaig\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\sqlalchemy\dialects\sqlite\base.py", line 2016, in has_table self._ensure_has_table_connection(connection) File "C:\Users\isaig\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\sqlalchemy\engine\default.py", line 342, in _ensure_has_table_connection raise exc.ArgumentError( sqlalchemy.exc.ArgumentError: The argument passed to Dialect.has_table() should be a <class 'sqlalchemy.engine.base.Connection'>, got <class 'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table() method is for internal dialect use only; please use inspect(some_engine).has_table(<tablename>>) for public API use.

    opened by IsaiMar 1
Releases(1.0.8)
  • 1.0.8(Aug 22, 2020)

  • 1.0.7(Aug 20, 2020)

  • 1.1.0a7(May 1, 2020)

  • 1.1.0a6(May 1, 2020)

  • 1.1.0a4(May 18, 2019)

  • 1.1.0a3(May 17, 2019)

  • 1.0.6(May 1, 2020)

  • 1.1.0a2(Apr 10, 2019)

  • 1.1.0a1(Apr 7, 2019)

    • Updates to comparison methods #1683
    • Switch from NLTK to Spacy for text indexing #1684
    • Fix tests for getting language classes #1693
    • Allow language parameters to be set for comparison methods #1696
    Source code(tar.gz)
    Source code(zip)
  • 1.0.5(Mar 24, 2019)

    • Download chatterbot-corpus directly from GitHub #1637
    • Use chatterbot-corpus to train PunktSentenceTokenizer #1638
    • Add pytz to requirements.txt #1670
    Source code(tar.gz)
    Source code(zip)
  • 1.0.4(Feb 24, 2019)

  • 1.0.3(Feb 23, 2019)

    • Use statement model attributes when saving #1603
    • Allow values from input to be persisted to the generated response #1604
    • Allow in_response_to from input to override lookup #1606
    • Use serialized input statement in learn_response #1607
    • Generate search_text before searching #1608
    Source code(tar.gz)
    Source code(zip)
  • 1.0.2(Feb 1, 2019)

  • 1.0.1(Jan 25, 2019)

  • 1.0.0(Jan 15, 2019)

    After four alpha releases 1.0 is finally ready.

    A huge thanks goes out to everyone who helped to test this version and make improvements.

    Source code(tar.gz)
    Source code(zip)
  • 1.0.0a4(Jan 15, 2019)

    Features

    • Separate search process from logic adapters #1543
    • Combine logic-adapter features into base class #1545
    • Add languages with iso-639 attributes #1548, #1549, #1550
    • Allow parameter to be passed in for response filter #1568

    Backwards incompatible change

    • Drop support for input and output adapters #1563, #1565
    • Remove the Twitter trainer #1564
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0a3(Dec 15, 2018)

    Features

    • Add bulk-creation methods to storage adapters #1449
    • Use parallel processing for Ubuntu Corpus training #1470
    • Add exclude_text parameter to filter function #1496
    • Add a filter parameter that allows statements to be excluded by word #1510
    • Use search_in_response_to value for selecting response statements #1494
    • Add a persona_not_startswith option to storage filters #1505
    • Add filter option for search_text_contains #1523
    • Use tagged text to search for statement matches #1452 #1531

    Improvements

    • Filter out 'bot:' statements from possible responses #1445
    • Reduced the time complexity of ChatterBot corpus trainer #1443

    Backwards incompatible changes

    • Make tag names unique #1484 #1532
    • Remove parsing.hashnum function #1440
    • Make get_response_statements methods into lazy-loading generators #1448
    • Switch filter method to a generator with page_size parameter #1506
    • Replace get_response_statements method with filter method #1507
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0a2(Oct 3, 2018)

    Bug fixes

    • Implement skipped comparison tests (fix issues found as a result) #1436

    Features

    • Add tests for filtering statements by their tags #1191
    • Add a common module for code shared between input and output adapters #1425
    • Add a persona filed to statements to track the speaker #1431

    Backwards incompatible changes

    • Use the ChatBot logger when training #1424
    • Remove the set_chatbot method from input adapters, output adapters, and logic adapters #1427
    • The Statement object no longer accepts a text string as a positional argument, instead it should be passed in as a named argument e.g. Statement(text='example'). #1433
    • The get_response( methods now can accept kwargs for an input item, for example: get_response('Hello', conversation='greetings'). #1433
    • The VariableInputTypeAdapter is now just called InputAdapter (similar to how the OutputAdapter is set up). #1433
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0a1(Sep 22, 2018)

    This is the initial (alpha) release of ChatterBot 1.0. There is a large number of improvements in this release and there are many changes that are not backwards compatible.

    Features

    • Unit conversion adapter (a huge thanks to @manoelrui) #1300
    • Add a created_at time to statements #1393 #1394
    • Add create method to storage adapters #1400

    Maintenance

    • Remove dependency on factory-boy #1389
    • Add CONVERSATION_LABEL_MAX_LENGTH constant #1392
    • Log Django test output to stdout #1395

    Backwards incompatible changes

    • Require chatbot parameter for training classes #1330
    • Combine Django API view with example view #1322
    • Drop support for Django 1.8 and add support for 2.0 #1338
    • Remove database parameter from storage adapters in favor of database_uri #1325
    • Dropping support for Python 2.7 #1332
    • Remove modules included in Python 3 from dev-requirements.txt #1369
    • Allow multiple order_by values to be passed to filter method #1396
    • Replace SQLStorageAdapter.create with SQLStorageAdapter.create_database #1397
    • Remove Conversation and Response objects to simplify data representations #1391
    • Replace the extra_data attribute with tags #1402
    • process_response no longer takes a conversation parameter #1404
    • Move get_statement method to storage adapter to match mongo adapter #1405
    • Remove conversation parameter from the get_response and process_input methods #1413
    • Merge the MultiAdapter code into the ChatBot class #1418
    • Remove set_trainer method and trainer attribute from the ChatBot class #1420
    Source code(tar.gz)
    Source code(zip)
  • 0.8.7(May 12, 2018)

  • 0.8.6(May 8, 2018)

  • 0.8.5(May 4, 2018)

    Bug fixes

    • Include character lengths for SQL Alchemy models #1200
    • Fix storage methods for getting the latest response #1192

    Testing

    • Remove untested __statement_filter method in SQL Storage Adapter #1194
    • Convert benchmark tests into unit tests #1185
    Source code(tar.gz)
    Source code(zip)
  • 0.8.4(Jan 27, 2018)

    Features

    • Allow a list of options to be passed to the low confidence adapter #1178
    • Use preprocessors during training #1181

    Testing

    • Use native nose exclude instead of plugin #1180
    • Don't display training progress bars while tests are running #1183
    Source code(tar.gz)
    Source code(zip)
  • 0.8.3(Jan 26, 2018)

    Bug fixes

    • Fix logic adapter kwargs #1174

    Testing

    • Update python and requirement test versions #1164

    Deprecation

    • Remove features marked as deprecated #1175
    Source code(tar.gz)
    Source code(zip)
  • 0.8.2(Jan 21, 2018)

    Features

    • The time logic adapter can now take positive and negative parameters for custom data #1121

    Not features

    • Replace corpus folder with a file #1153
    • Replace conversation folder with a single file #1154

    Improvements

    • Remove unused jsondatabase requirement from requirements.txt #1156
    • Update SQL Alchemy minimum version to 1.2 #1155

    Documentation

    • Doc config updates #1118

    Testing

    • Remove makefile and add tox command documentation #1119
    Source code(tar.gz)
    Source code(zip)
  • 0.8.1(Dec 4, 2017)

    Bug fixes

    • Fix sqlite 8-bit bytestrings with unicode coercion https://github.com/gunthercox/ChatterBot/pull/1099

    Documentation

    • Add newsletter signup for to documentation page #1098
    • Documentation updates #1096
    Source code(tar.gz)
    Source code(zip)
  • 0.8.0(Dec 2, 2017)

    Breaking changes

    • Replace ChatterBot's "sessions" with "Conversations" https://github.com/gunthercox/ChatterBot/pull/828
    • Use lowercase table names for SQL Alchemy tables 1c81c5160d0c9fd744eca447383b0f0df86fb912
    • The JSON file storage adapter has been removed https://github.com/gunthercox/ChatterBot/pull/1004

    Enhancements

    • Add tags attribute to models https://github.com/gunthercox/ChatterBot/pull/906
    • Move SQL Alchemy models out of storage adapter https://github.com/gunthercox/ChatterBot/pull/910
    • Add sqlite pragma settings to sql_storage.py #916
    • Increase max_length of Django Statement model text field to 400 characters https://github.com/gunthercox/ChatterBot/pull/937
    • Increase max_length of Django Statement model text field to 400 characters https://github.com/gunthercox/ChatterBot/pull/937
    • Allow any database model to be used by specifying it a parameter for the model https://github.com/gunthercox/ChatterBot/pull/1001
    • Move relational fields out of abstract base models https://github.com/gunthercox/ChatterBot/pull/1010
    • Use improved mathparse library for math evaluation logic adapter https://github.com/gunthercox/ChatterBot/pull/1018
    • Add tagging when training with SQL storage https://github.com/gunthercox/ChatterBot/pull/1021

    Bug fixes

    • Use JSON "dump" instead of "dumps" https://github.com/gunthercox/ChatterBot/pull/915
    • Change distinct to aggregate in mongodb.py #916
    • Don't append .db to sql database name https://github.com/gunthercox/ChatterBot/pull/933
    • Allow Django model extra_data field to be blank https://github.com/gunthercox/ChatterBot/pull/941

    Documentation

    • Briefly document using Django and MongoDB together https://github.com/gunthercox/ChatterBot/pull/938
    • Add some information about how ChatterBot learns to the FAQ https://github.com/gunthercox/ChatterBot/pull/938
    • Document default kwarg values for ChatBot class https://github.com/gunthercox/ChatterBot/pull/947
    Source code(tar.gz)
    Source code(zip)
  • 0.7.6(Aug 8, 2017)

    Bug fixes

    • convert_unicode on the String type (thanks to @vkosuri and @WildDylan) https://github.com/gunthercox/ChatterBot/pull/890

    Enhancements

    • Allow specification of ssl verification for hipchat adapters (via @Achimh3011) https://github.com/gunthercox/ChatterBot/pull/875
    • Display training progress indicator when training with corpus https://github.com/gunthercox/ChatterBot/pull/899
    Source code(tar.gz)
    Source code(zip)
  • 0.7.5(Jul 29, 2017)

    Bug fixes

    • Set query support to false in SQL storage adapter https://github.com/gunthercox/ChatterBot/pull/880

    Testing

    • Configure tox https://github.com/gunthercox/ChatterBot/pull/872

    Documentation

    • Document how to distribute a python module for ChatterBot https://github.com/gunthercox/ChatterBot/pull/863
    Source code(tar.gz)
    Source code(zip)
Owner
Gunther Cox
Robot builder and web application developer.
Gunther Cox
🕹 An esoteric language designed so that the program looks like the transcript of a Pokémon battle

PokéBattle is an esoteric language designed so that the program looks like the transcript of a Pokémon battle. Original inspiration and specification

Eduardo Correia 9 Jan 11, 2022
NL. The natural language programming language.

NL A Natural-Language programming language. Built using Codex. A few examples are inside the nl_projects directory. How it works Write any code in pur

2 Jan 17, 2022
A BERT-based reverse dictionary of Korean proverbs

Wisdomify A BERT-based reverse-dictionary of Korean proverbs. 김유빈 : 모델링 / 데이터 수집 / 프로젝트 설계 / back-end 김종윤 : 데이터 수집 / 프로젝트 설계 / front-end / back-end 임용

94 Dec 08, 2022
Train 🤗transformers with DeepSpeed: ZeRO-2, ZeRO-3

Fork from https://github.com/huggingface/transformers/tree/86d5fb0b360e68de46d40265e7c707fe68c8015b/examples/pytorch/language-modeling at 2021.05.17.

Junbum Lee 12 Oct 26, 2022
Official PyTorch implementation of Time-aware Large Kernel (TaLK) Convolutions (ICML 2020)

Time-aware Large Kernel (TaLK) Convolutions (Lioutas et al., 2020) This repository contains the source code, pre-trained models, as well as instructio

Vasileios Lioutas 28 Dec 07, 2022
Indobenchmark are collections of Natural Language Understanding (IndoNLU) and Natural Language Generation (IndoNLG)

Indobenchmark Toolkit Indobenchmark are collections of Natural Language Understanding (IndoNLU) and Natural Language Generation (IndoNLG) resources fo

Samuel Cahyawijaya 11 Aug 26, 2022
Multi-Scale Temporal Frequency Convolutional Network With Axial Attention for Speech Enhancement

MTFAA-Net Unofficial PyTorch implementation of Baidu's MTFAA-Net: "Multi-Scale Temporal Frequency Convolutional Network With Axial Attention for Speec

Shimin Zhang 87 Dec 19, 2022
Prompt tuning toolkit for GPT-2 and GPT-Neo

mkultra mkultra is a prompt tuning toolkit for GPT-2 and GPT-Neo. Prompt tuning injects a string of 20-100 special tokens into the context in order to

61 Jan 01, 2023
Python code for ICLR 2022 spotlight paper EViT: Expediting Vision Transformers via Token Reorganizations

Expediting Vision Transformers via Token Reorganizations This repository contain

Youwei Liang 101 Dec 26, 2022
Shirt Bot is a discord bot which uses GPT-3 to generate text

SHIRT BOT · Shirt Bot is a discord bot which uses GPT-3 to generate text. Made by Cyclcrclicly#3420 (474183744685604865) on Discord. Support Server EX

31 Oct 31, 2022
This repository collects together basic linguistic processing data for using dataset dumps from the Common Voice project

Common Voice Utils This repository collects together basic linguistic processing data for using dataset dumps from the Common Voice project. It aims t

Francis Tyers 40 Dec 20, 2022
Practical Machine Learning with Python

Master the essential skills needed to recognize and solve complex real-world problems with Machine Learning and Deep Learning by leveraging the highly popular Python Machine Learning Eco-system.

Dipanjan (DJ) Sarkar 2k Jan 08, 2023
Nmt - TensorFlow Neural Machine Translation Tutorial

Neural Machine Translation (seq2seq) Tutorial Authors: Thang Luong, Eugene Brevdo, Rui Zhao (Google Research Blogpost, Github) This version of the tut

6.1k Dec 29, 2022
null

CP-Cluster Confidence Propagation Cluster aims to replace NMS-based methods as a better box fusion framework in 2D/3D Object detection, Instance Segme

Yichun Shen 41 Dec 08, 2022
Translation to python of Chris Sims' optimization function

pycsminwel This is a locol minimization algorithm. Uses a quasi-Newton method with BFGS update of the estimated inverse hessian. It is robust against

Gustavo Amarante 1 Mar 21, 2022
Random Directed Acyclic Graph Generator

DAG_Generator Random Directed Acyclic Graph Generator verison1.0 简介 工作流通常由DAG(有向无环图)来定义,其中每个计算任务$T_i$由一个顶点(node,task,vertex)表示。同时,任务之间的每个数据或控制依赖性由一条加权

Livion 17 Dec 27, 2022
Natural language computational chemistry command line interface.

nlcc Install pip install nlcc Must have Open-AI Codex key: export OPENAI_API_KEY=your key here then nlcc key bindings ctrl-w copy to clipboard (Note

Andrew White 37 Dec 14, 2022
Based on 125GB of data leaked from Twitch, you can see their monthly revenues from 2019-2021

Twitch Revenues Bu script'i kullanarak istediğiniz yayıncıların, Twitch'den sızdırılan 125 GB'lik veriye dayanarak, 2019-2021 arası aylık gelirlerini

4 Nov 11, 2021
Weaviate demo with the text2vec-openai module

Weaviate demo with the text2vec-openai module This repository contains an example of how to use the Weaviate text2vec-openai module. When using this d

SeMI Technologies 11 Nov 11, 2022