Installation¶
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