Installation¶
The recommended method for installing torlib is by using pip.
Installing from PyPi¶
To install ChatterBot from PyPi using pip run the following command in your terminal.
pip install torlib
Installing from GitHub¶
You can also install torlib directly from GitHub using pip
.
pip install git+https://github.com/noppadol-assava/torlib.git@master
Installing from source¶
Clone repository from GitHub. git is needed in this step.
git clone https://github.com/noppadol-assava/torlib.git
Install the package using pip
pip install ./torlib
Checking the version of torlib that you have installed¶
To check the current version of torlib installed on your machine, run the following python code.
import torlib
print(torlib.__version__)
Upgrading torlib to the latest version¶
To upgrade torlib to the latest release, run the following command in your terminal.
pip install torlib --upgrade