Login With Github

How to Install ChatterBot

The recommended method for installing ChatterBot is by using pip.

Installing from PyPi

If you are just getting started with ChatterBot, it is recommended that you start by installing the latest version from the Python Package Index (PyPi). To install ChatterBot from PyPi using pip run the following command in your terminal.

pip install chatterbot

Installing from GitHub

You can install the latest development version of ChatterBot directly from GitHub using pip.

pip install git+git://github.com/gunthercox/ChatterBot.git@master

Installing from source

Download a copy of the code from GitHub. You may need to install git.

git clone https://github.com/gunthercox/ChatterBot.git

Install the code you have just downloaded using pip

pip install ./ChatterBot

Checking the version of ChatterBot that you have installed

If you already have ChatterBot installed and you want to check what version you have installed you can run the following command.

python -m chatterbot --version

Upgrading ChatterBot to the latest version

Upgrading to Newer Releases

Like any software, changes will be made to ChatterBot over time. Most of these changes are improvements. Frequently, you don't have to change anything in your code to benefit from a new release.

Occasionally there are changes that will require modifications in your code or there will be changes that make it possible for you to improve your code by taking advantage of new features.

To view a record of ChatterBot's history of changes, visit the releases tab on ChatterBot's GitHub page.

Use the pip command to upgrade your existing ChatterBot installation by providing the –upgrade parameter:

pip install chatterbot --upgrade

Also see Versioning for information about ChatterBot's versioning policy.

0 Comment