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://

Installing from source

  1. Download a copy of the code from GitHub. You may need to install git.
git clone
  1. 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