Installation

Local Installation

The recommended way of installing explainX library is by using pip - the python package manager.

$ pip install explainx

Make sure you have Python 3.5+

Note that this will automatically install all dependencies and requirements required. ExplainX strives to support the latest versions.

Cloud Installation

If you are running your IDE or Jupyter notebook on the cloud, follow the following instructions. You will need to install Node.js and LocalTunnel using the following instructions.

1. Install Node.js and LocalTunnel on Ubuntu

Open the terminal

Install Node.js using the following command:

$ sudo apt install nodejs

Install npm using the following command:

$ sudo apt install npm

Install LocalTunnel using the following command:

$ npm install -g localtunnel

Install explainX library using the following command:

$ pip install explainx

2. Install Node.js and LocalTunnel on MacOS

Open the terminal

Install XCode Command Line Tools using the following command:

$ xcode-select --install

Install brew using the following command:

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Node.js using the following command:

$ brew install nodejs

Install LocalTunnel using the following command:

$ npm install -g localtunnel

Install explainX library using the following command:

$ pip install explainx

3. Install Node.js and LocalTunnel on Windows

Install Microsoft C++ Build Tools

Install Node.js

Open the terminal and run the following command to install LocalTunnel

$ npm install -g localtunnel

Install explainX library using the following command:

$ pip install explainx

4. Install Node.js and LocalTunnel on CentOS

Open the terminal

Run the following command:

$ curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -

Install Node.js using the following command:

$ sudo yum install nodejs

Install npm using the following command:

$ sudo yum install npm

Install LocalTunnel using the following command:

$ npm install -g localtunnel

Install explainX library using the following command:

$ pip install explainx